Skip to content

Instantly share code, notes, and snippets.

@otakup0pe
Last active February 11, 2017 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otakup0pe/a9607bf37cb82fd3989dabfd9702d101 to your computer and use it in GitHub Desktop.
Save otakup0pe/a9607bf37cb82fd3989dabfd9702d101 to your computer and use it in GitHub Desktop.
Generic Secrets (From YAML)
# -*-YAML-*-
secrets:
- var_file: 'secrets.yml'
mount: 'foo'
path: 'bar'
$ 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