How to use the fabric-ca-client/lib/FabricCAServices.newDefaultKeyValueStore function in fabric-ca-client

To help you get started, we’ve selected a few fabric-ca-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hyperledger / fabric-sdk-node / test / integration / fabric-ca-services-tests.js View on Github external
}).then(() => {

			// now test being able to save user to persistence store
			return FabricCAServices.newDefaultKeyValueStore({
				path: testUtil.KVS
			});
		}, () => {
			t.fail('Failed to configure the user with proper enrollment materials.');