2021-09-13 Peer Programming Call

Agenda

  • Demo of Cactus integration with Vault Transit Engine - Pritam Singh

Recording

Pritam's Demo:

What this demo shows:

  1. Create a manager role in Vault, get a password for the manager
  2. Use the manager's password to get a token
  3. Login with the manager's token
  4. Create a role of client1, get a password for client1
  5. Use client1's password to get a token
  6. Enroll and then register client1 with "adminpw"
  7. Register and enroll client2 with secret key
  8. Post transactions in Fabric to query and record emissions
  9. Store Ethereum public and private key in Vault
  10. Tokenize Fabric records on Ethereum (hardhat) using public and private keys stored in Vault

How Vault can externally be used to manage client's identities.

  • This will allow orgs to opt for authentication of their own choice, which isn't possible in demo 1
  • Will also allow support for both Vault-X.509 and Ws-X.509 identity support for the application.

Steps:

Command for starting a vault server (for development) : `docker run --rm --name vault -d --cap-add=IPC_LOCK -p 8200:8200 -e 'VAULT_DEV_ROOT_TOKEN_ID=tokenId' -e 'VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200' vault:1.8.1`


Hyperledger is committed to creating a safe and welcoming

community for all. For more information

please visit the Hyperledger Code of Conduct.


Time:


Dial-In Information:  [ZOOM]

You can join either from your computer or from your phone: