@@ -12,81 +12,82 @@ token:
1212 # namespace identifiers. The network identifier should refer to a configure network (Fabric, Orion, and so on).
1313 # The meaning of channel and namespace are network dependant. For Fabric, the meaning is clear.
1414 # For Orion, channel is empty and namespace is the DB name to use.
15- tms:
16- - # Network identifier this TMS refers to
17- network: {{ TMS.Network }}
18- # Channel identifier within the specified network
19- channel: {{ TMS.Channel }}
20- # Namespace identifier within the specified channel
21- namespace: {{ TMS.Namespace }}
22- certification:
23- {{ if TMS.Certifiers }} interactive:
24- ids: {{ range TMS.Certifiers }}
25- - {{ . }}{{ end }}{{ end }}
26- {{ if Wallets }}
27- # Wallets associated with this TMS
28- wallets:{{ if Wallets.Certifiers }}
29- # Certifiers wallets are used to certify tokens
30- certifiers: {{ range Wallets.Certifiers }}
31- - id: {{ .ID }}
32- default: {{ .Default }}
33- path: {{ .Path }}
15+ tms:
16+ {{ TMSID }}:
17+ # Network identifier this TMS refers to
18+ network: {{ TMS.Network }}
19+ # Channel identifier within the specified network
20+ channel: {{ TMS.Channel }}
21+ # Namespace identifier within the specified channel
22+ namespace: {{ TMS.Namespace }}
23+ certification:
24+ {{ if TMS.Certifiers }} interactive:
25+ ids: {{ range TMS.Certifiers }}
26+ - {{ . }}{{ end }}{{ end }}
27+ {{ if Wallets }}
28+ # Wallets associated with this TMS
29+ wallets:{{ if Wallets.Certifiers }}
30+ # Certifiers wallets are used to certify tokens
31+ certifiers: {{ range Wallets.Certifiers }}
32+ - id: {{ .ID }}
33+ default: {{ .Default }}
34+ path: {{ .Path }}
35+ {{ end }}
36+ {{ end }}{{ if Wallets.Issuers }}
37+ # Issuers wallets are used to issue tokens
38+ issuers: {{ range Wallets.Issuers }}
39+ - id: {{ .ID }}
40+ default: {{ .Default }}
41+ path: {{ .Path }}
42+ opts:
43+ BCCSP:
44+ Default: {{ .Opts.Default }}
45+ # Settings for the SW crypto provider (i.e. when DEFAULT: SW)
46+ SW:
47+ Hash: {{ .Opts.SW.Hash }}
48+ Security: {{ .Opts.SW.Security }}
49+ # Settings for the PKCS#11 crypto provider (i.e. when DEFAULT: PKCS11)
50+ PKCS11:
51+ # Location of the PKCS11 module library
52+ Library: {{ .Opts.PKCS11.Library }}
53+ # Token Label
54+ Label: {{ .Opts.PKCS11.Label }}
55+ # User PIN
56+ Pin: {{ .Opts.PKCS11.Pin }}
57+ Hash: {{ .Opts.PKCS11.Hash }}
58+ Security: {{ .Opts.PKCS11.Security }}
59+ {{ end }}
60+ {{ end }}{{ if Wallets.Owners }}
61+ # Owners wallets are used to own tokens
62+ owners: {{ range Wallets.Owners }}
63+ - id: {{ .ID }}
64+ default: {{ .Default }}
65+ path: {{ .Path }}
66+ {{ end }}
67+ {{ end }}{{ if Wallets.Auditors }}
68+ # Auditors wallets are used to audit tokens
69+ auditors: {{ range Wallets.Auditors }}
70+ - id: {{ .ID }}
71+ default: {{ .Default }}
72+ path: {{ .Path }}
73+ opts:
74+ BCCSP:
75+ Default: {{ .Opts.Default }}
76+ # Settings for the SW crypto provider (i.e. when DEFAULT: SW)
77+ SW:
78+ Hash: {{ .Opts.SW.Hash }}
79+ Security: {{ .Opts.SW.Security }}
80+ # Settings for the PKCS#11 crypto provider (i.e. when DEFAULT: PKCS11)
81+ PKCS11:
82+ # Location of the PKCS11 module library
83+ Library: {{ .Opts.PKCS11.Library }}
84+ # Token Label
85+ Label: {{ .Opts.PKCS11.Label }}
86+ # User PIN
87+ Pin: {{ .Opts.PKCS11.Pin }}
88+ Hash: {{ .Opts.PKCS11.Hash }}
89+ Security: {{ .Opts.PKCS11.Security }}
90+ {{ end }}
3491 {{ end }}
35- {{ end }}{{ if Wallets.Issuers }}
36- # Issuers wallets are used to issue tokens
37- issuers: {{ range Wallets.Issuers }}
38- - id: {{ .ID }}
39- default: {{ .Default }}
40- path: {{ .Path }}
41- opts:
42- BCCSP:
43- Default: {{ .Opts.Default }}
44- # Settings for the SW crypto provider (i.e. when DEFAULT: SW)
45- SW:
46- Hash: {{ .Opts.SW.Hash }}
47- Security: {{ .Opts.SW.Security }}
48- # Settings for the PKCS#11 crypto provider (i.e. when DEFAULT: PKCS11)
49- PKCS11:
50- # Location of the PKCS11 module library
51- Library: {{ .Opts.PKCS11.Library }}
52- # Token Label
53- Label: {{ .Opts.PKCS11.Label }}
54- # User PIN
55- Pin: {{ .Opts.PKCS11.Pin }}
56- Hash: {{ .Opts.PKCS11.Hash }}
57- Security: {{ .Opts.PKCS11.Security }}
5892 {{ end }}
59- {{ end }}{{ if Wallets.Owners }}
60- # Owners wallets are used to own tokens
61- owners: {{ range Wallets.Owners }}
62- - id: {{ .ID }}
63- default: {{ .Default }}
64- path: {{ .Path }}
65- {{ end }}
66- {{ end }}{{ if Wallets.Auditors }}
67- # Auditors wallets are used to audit tokens
68- auditors: {{ range Wallets.Auditors }}
69- - id: {{ .ID }}
70- default: {{ .Default }}
71- path: {{ .Path }}
72- opts:
73- BCCSP:
74- Default: {{ .Opts.Default }}
75- # Settings for the SW crypto provider (i.e. when DEFAULT: SW)
76- SW:
77- Hash: {{ .Opts.SW.Hash }}
78- Security: {{ .Opts.SW.Security }}
79- # Settings for the PKCS#11 crypto provider (i.e. when DEFAULT: PKCS11)
80- PKCS11:
81- # Location of the PKCS11 module library
82- Library: {{ .Opts.PKCS11.Library }}
83- # Token Label
84- Label: {{ .Opts.PKCS11.Label }}
85- # User PIN
86- Pin: {{ .Opts.PKCS11.Pin }}
87- Hash: {{ .Opts.PKCS11.Hash }}
88- Security: {{ .Opts.PKCS11.Security }}
89- {{ end }}
90- {{ end }}
91- {{ end }}
92- `
93+ `
0 commit comments