From c1107459795ffb2e969486bb8231be3f08ce18cf Mon Sep 17 00:00:00 2001 From: Pratyoy Mukhopadhyay <35388175+pmmukh@users.noreply.github.com> Date: Tue, 7 Sep 2021 13:15:33 -0700 Subject: [PATCH] Update kv input documentation with edge case (#12500) --- website/content/docs/commands/index.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/content/docs/commands/index.mdx b/website/content/docs/commands/index.mdx index 526808e303..9927152503 100644 --- a/website/content/docs/commands/index.mdx +++ b/website/content/docs/commands/index.mdx @@ -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`: