VERSION:0.1.2
Published almost 4 years ago by @vahid
vahid/
vault
vault
An OPS to configure and work with HashiCorp Vault
For running on local
- Download vault binary and run it in your local env (https://www.vaultproject.io/downloads.html)
- run
./vault server -dev
- Retrieve
ROOT_TOKEN
from the logs ops run vault --url "http://host.docker.internal:8200" --token [ROOT_TOKEN] --team [YOUR_TEAM_NAME] configure
this will setup the team structure in the vault and will return a token associated with your team- You can use the returned token from previous step to register your vault with CTO.ai CLI
- You can also use this op to work with created team in the vault:
e.g.ops run vault --url "http://host.docker.internal:8200" --token [TEAM_TOKEN] --team [YOUR_TEAM_NAME] secret list