Last active
February 11, 2017 18:39
-
-
Save otakup0pe/a9607bf37cb82fd3989dabfd9702d101 to your computer and use it in GitHub Desktop.
Generic Secrets (From YAML)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*-YAML-*- | |
secrets: | |
- var_file: 'secrets.yml' | |
mount: 'foo' | |
path: 'bar' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat .secrets/secret.yml | |
secret: ayyyyyy | |
$ vault read -field secret foo/bar | |
ayyyyyy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment