Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Commit

Permalink
docs: mention ~/.vault-token, and some rewording
Browse files Browse the repository at this point in the history
  • Loading branch information
jhermann committed Jun 22, 2016
1 parent 6cb997a commit 472c96b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions docs/deploy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,15 @@ Make sure your *Vault* server is up and reachable by using these commands:
If the server runs on a remote machine, adapt the ``VAULT_ADDR`` accordingly.
Let's try accessing the server via ``config-seasme`` next. First, add the
*vault root token* to your keyring (you'll find that in the file ``/var/lib/vault/.vault-token``,
given the setup outline above), by calling the ``config-sesame login`` command which will
prompt you for the token and remember it in a safe place.
You can also set the ``VAULT_TOKEN`` environment variable (which is not as secure),
or do nothing, then you'll be prompted for the token on the console each time it is needed.
Then call the ``config-sesame help`` command, and it should show some information
Let's try accessing the server via ``config-sesame`` next. First, add the
*vault root token* to your keyring, by calling the ``config-sesame login`` command
which will prompt you for the token and remember it in a safe place.
For the test setup as outlined above, you'll find that token in the file
``/var/lib/vault/.vault-token``.
You can also set the ``VAULT_TOKEN`` environment variable
or create the ``~/.vault-token`` file (which is not as secure as using the keyring),
otherwise you'll be prompted for the token on the console each time it is needed.
Finally call the ``config-sesame help`` command, and it should show some information
about your running *Vault* service.
Note that in a production setup, you will have a personal access token, e.g. obtained
Expand Down

0 comments on commit 472c96b

Please sign in to comment.