Skip to content

Commit

Permalink
Added clarification to KV documentation about default CLI behavior an…
Browse files Browse the repository at this point in the history
…d how to preserve non-string type values (#3596)
  • Loading branch information
lauradiane authored and vishalnayak committed Nov 27, 2017
1 parent 4e69240 commit d3a2844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/source/docs/secrets/kv/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ of these backends at different mount points as you like.
Writing to a key in the `kv` backend will replace the old value;
sub-fields are not merged together.

Key names must always be strings. If you write non-string values directly via the CLI, they will be converted into strings. However, you can preserve non-string values by writing the key/value pairs to Vault from a JSON file or using the HTTP API.

This backend honors the distinction between the `create` and `update`
capabilities inside ACL policies.

Expand Down

0 comments on commit d3a2844

Please sign in to comment.