2018-06-07 14:34:24 +08:00
|
|
|
{
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org1MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org1MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org1MSP",
|
|
|
|
"role": "MEMBER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"MSP": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"value": {
|
|
|
|
"config": {
|
|
|
|
"admins": [
|
2018-06-19 16:59:23 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLakNDQWRHZ0F3SUJBZ0lSQVBocFlyVS90TVg3OWgrbXRkOFVNcUF3Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaekV1WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd3TmpFNU1EZ3hNVEExV2hjTk1qZ3dOakUyTURneE1UQTEKV2pCc01Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ3hNR1kyeHBaVzUwTVI4d0hRWURWUVFEREJaQlpHMXBia0J2CmNtY3hMbVY0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFWXFpZVluU0YKeFBwSzIxR1RMVmZVQ1V3dWkwS3hCMlNwOWVnbGVPR3RucDBBVy9BcVBWMjdYbG9KUEJLMkdMRHlwYit6SFZLVgpPUWwwVkZtSU5ORnpKS05OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEClZSMGpCQ1F3SW9BZ3RUZmpvZE1zdHd2d3V3eXp3dThCN0Z0aVdTaU90YTBQcHlmNCs2M3NBZW93Q2dZSUtvWkkKemowRUF3SURSd0F3UkFJZ0VyYW5GaVR6MENZUXk0QWRZeGUvL3BBaFQrWUphL0pkSFNwci9JNmVLNG9DSUVrZwoyajlxYUFUeVkzVHEzeDV0UStWdy9nQWF3dXpCaFJKVTM0S2UrWHJiCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
2018-06-07 14:34:24 +08:00
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
2018-06-19 16:59:23 +08:00
|
|
|
"fabric_node_ous": {
|
|
|
|
"client_ou_identifier": {
|
|
|
|
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRakNDQWVtZ0F3SUJBZ0lRT3BOd1RYSHZKSHZMdDB3ajYwUDdMekFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NUzVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREEyTVRrd09ERXhNRFJhRncweU9EQTJNVFl3T0RFeE1EUmEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0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