scmrus
1/26/2017 - 6:22 PM

vault hot commands

vault hot commands

path "secret/*" {
  capabilities = ["create", "update", "list"]
}

vault policy-write service_name_read service_name_read.hcl

vault token-create -policy=service_name_read

echo -n 'itsasecret' | vault write secret/password value=-
vault write secret/foo value=-
This
Is
Multiline<Ctrl-D><Ctrl-D>Success! Data written to: secret/foo

vault write secret/mysecret value=@secret.json