github.com/simranvc/fabric-ca@v0.0.0-20191030094829-acc364294dde/testdata/testconfig.json (about) 1 { 2 "tls_disable":true, 3 "driver":"sqlite3", 4 "data_source":"fabric-ca.db", 5 "user_registry": { 6 "max_enrollments": 1 7 }, 8 "ca_cert":"ec.pem", 9 "ca_key":"ec-key.pem", 10 "tls":{ 11 "tls_cert":"tls_server-cert.pem", 12 "tls_key":"tls_server-key.pem", 13 "mutual_tls_ca":"root.pem", 14 "db_client":{ 15 "ca_certfiles":["root.pem"], 16 "client":{"keyfile":"tls_server-key.pem","certfile":"tls_server-cert.pem"} 17 } 18 }, 19 "users": { 20 "admin": { 21 "pass": "adminpw", 22 "type": "client", 23 "affiliation": "bank_a", 24 "attrs": [{"name":"hf.Registrar.Roles","value":"client,user,peer,validator,auditor"}, 25 {"name":"hf.Registrar.DelegateRoles", "value": "client,user,validator,auditor"}, 26 {"name":"hf.Revoker", "value": "true"}] 27 }, 28 "admin2": { 29 "pass": "adminpw2", 30 "type": "client", 31 "affiliation": "bank_a", 32 "attrs": [{"name":"hf.Registrar.Roles","value":"client,user,peer,validator,auditor"}, 33 {"name":"hf.Registrar.DelegateRoles", "value": "client,user,validator,auditor"}, 34 {"name":"hf.Revoker", "value": "true"}] 35 }, 36 "revoker": { 37 "pass": "revokerpw", 38 "type": "client", 39 "affiliation": "bank_a", 40 "attrs": [{"name":"hf.Revoker", "value": "true"}] 41 }, 42 "revoker2": { 43 "pass": "revokerpw2", 44 "type": "client", 45 "affiliation": "bank_a", 46 "attrs": [{"name":"hf.Revoker", "value": "true"}] 47 }, 48 "nonrevoker": { 49 "pass": "nonrevokerpw", 50 "type": "client", 51 "affiliation": "bank_a" 52 }, 53 "nonrevoker2": { 54 "pass": "nonrevokerpw2", 55 "type": "client", 56 "affiliation": "bank_a" 57 }, 58 "notadmin": { 59 "pass": "pass", 60 "type": "client", 61 "affiliation": "bank_a", 62 "attrs": [{"name":"hf.Registrar.Roles","value":"client,peer,validator,auditor"}, 63 {"name":"hf.Registrar.DelegateRoles", "value": "client"}] 64 }, 65 "expiryUser": { 66 "pass": "expirypw", 67 "type": "client", 68 "affiliation": "bank_a" 69 }, 70 "testUser": { 71 "pass": "user1", 72 "type": "client", 73 "affiliation": "bank_b", 74 "attrs": [] 75 }, 76 "testUser2": { 77 "pass": "user2", 78 "type": "client", 79 "affiliation": "bank_c", 80 "attrs": [] 81 }, 82 "testUser3": { 83 "pass": "user3", 84 "type": "client", 85 "affiliation": "bank_a", 86 "attrs": [] 87 } 88 }, 89 "groups": { 90 "banks_and_institutions": { 91 "banks": ["bank_a", "bank_b", "bank_c"], 92 "institutions": ["institution_a"] 93 } 94 }, 95 "signing": { 96 "default": { 97 "usages": ["cert sign"], 98 "expiry": "8000h" 99 }, 100 "expiry": { 101 "usages": ["cert sign"], 102 "expiry": "1s" 103 } 104 } 105 }