Added clarification to KV documentation about default CLI behavior and how to preserve non-string type values (#3596)

This commit is contained in:
Laura Uva 2017-11-27 08:43:49 -08:00 committed by Vishal Nayak
parent fa4af18b73
commit 3b5cbe54fd

View file

@ -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.