SaFi Bank Space : Sharing Secret with Hashicorp Vault Wrapper

In many cases, manual or static secrets needs to be shared through a secure medium or platform. HCV comes with at tool called wrap and it is an effective tool for this scenario.

Create a Wrap Secret

  1. Login to HCVault https://vault.cicd.safibank.online/

  2. Go to Tools > Wrap and encode your secret in key-value json format > Wrap Data

This will create a Wrapping token to be shared with the one who will consume the secret value

NOTE: By default, token will expire in 30 minutes, toggle the Wrap TTL button to adjust the expiration time.

3. Consume the value with Unwrap tool.
Go to Tools > Unwrap and paste your wrapping token > Unwrap data

This is a one time only process and token CANNOT BE REUSE after unwrapping