github.com/darrenli6/fabric-sdk-example@v0.0.0-20220109053535-94b13b56df8c/examples/e2e_cli/crypto-config.yaml (about) 1 # Copyright IBM Corp. All Rights Reserved. 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 # 5 6 # --------------------------------------------------------------------------- 7 # "OrdererOrgs" - Definition of organizations managing orderer nodes 8 # --------------------------------------------------------------------------- 9 OrdererOrgs: 10 # --------------------------------------------------------------------------- 11 # Orderer 12 # --------------------------------------------------------------------------- 13 - Name: Orderer 14 Domain: example.com 15 # --------------------------------------------------------------------------- 16 # "Specs" - See PeerOrgs below for complete description 17 # --------------------------------------------------------------------------- 18 Specs: 19 - Hostname: orderer 20 # --------------------------------------------------------------------------- 21 # "PeerOrgs" - Definition of organizations managing peer nodes 22 # --------------------------------------------------------------------------- 23 PeerOrgs: 24 # --------------------------------------------------------------------------- 25 # Org1 26 # --------------------------------------------------------------------------- 27 - Name: Org1 28 Domain: org1.example.com 29 # --------------------------------------------------------------------------- 30 # "Specs" 31 # --------------------------------------------------------------------------- 32 # Uncomment this section to enable the explicit definition of hosts in your 33 # configuration. Most users will want to use Template, below 34 # 35 # Specs is an array of Spec entries. Each Spec entry consists of two fields: 36 # - Hostname: (Required) The desired hostname, sans the domain. 37 # - CommonName: (Optional) Specifies the template or explicit override for 38 # the CN. By default, this is the template: 39 # 40 # "{{.Hostname}}.{{.Domain}}" 41 # 42 # which obtains its values from the Spec.Hostname and 43 # Org.Domain, respectively. 44 # --------------------------------------------------------------------------- 45 # Specs: 46 # - Hostname: foo # implicitly "foo.org1.example.com" 47 # CommonName: foo27.org5.example.com # overrides Hostname-based FQDN set above 48 # - Hostname: bar 49 # - Hostname: baz 50 # --------------------------------------------------------------------------- 51 # "Template" 52 # --------------------------------------------------------------------------- 53 # Allows for the definition of 1 or more hosts that are created sequentially 54 # from a template. By default, this looks like "peer%d" from 0 to Count-1. 55 # You may override the number of nodes (Count), the starting index (Start) 56 # or the template used to construct the name (Hostname). 57 # 58 # Note: Template and Specs are not mutually exclusive. You may define both 59 # sections and the aggregate nodes will be created for you. Take care with 60 # name collisions 61 # --------------------------------------------------------------------------- 62 Template: 63 Count: 2 64 # Start: 5 65 # Hostname: {{.Prefix}}{{.Index}} # default 66 # --------------------------------------------------------------------------- 67 # "Users" 68 # --------------------------------------------------------------------------- 69 # Count: The number of user accounts _in addition_ to Admin 70 # --------------------------------------------------------------------------- 71 Users: 72 Count: 1 73 # --------------------------------------------------------------------------- 74 # Org2: See "Org1" for full specification 75 # --------------------------------------------------------------------------- 76 - Name: Org2 77 Domain: org2.example.com 78 Template: 79 Count: 2 80 Users: 81 Count: 1