Based on cault but a little more succinct.
This quick gist is to try out vault-ui. High level steps include:
- Start containers.
- Initialize and unseal vault.
- Log into vault-ui via root token.
Docker for mac which comes with docker-compose.
From the working dir of docker-compose.yml
execute the following:
docker-compose up -d
Log into vault container and initialize vault:
docker exec -it vault sh
vault init
Note in the vault init
output 5 keys and a root token. The keys are used to unseal the vault and root token is used to log into vault-ui.
Run vault unseal
three times using the 3 unique keys.
Visit http://localhost:8000/ and log into vault-ui.
- consul is run in
-dev
mode so it will not persist the key/value store.
I don't see "consul" when trying to add new "new secret backend", even after "vault secrets enable consul"