Update kv input documentation with edge case (#12500)

This commit is contained in:
Pratyoy Mukhopadhyay 2021-09-07 13:15:33 -07:00 committed by GitHub
parent 8b3cc504cb
commit c110745979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,10 @@ Or specify the contents of a file as a value:
$ vault kv put secret/password value=@data.txt
```
Note that if an argument is supplied in a @key=value format, Vault will treat that as a
kv pair with the key being `@key`, not a file called `key=value`. This also means that Vault
does not support filenames with `=` in them.
### Reading Data
After data is persisted, read it back using `vault kv get`: