8000 CHORE: update kvv2 patch docs to clarify behavior when secret does no… · hashicorp/web-unified-docs@1aa53f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1aa53f2

Browse files
swayne275schavis
andauthored
CHORE: update kvv2 patch docs to clarify behavior when secret does not exist (#1008)
* add clarity around kvv2 patch * Apply suggestion from @schavis Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com> * Apply suggestion from @schavis Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com> * fix issues from accepting suggestions? * Apply suggestion from @schavis --------- Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
1 parent 92b7046 commit 1aa53f2

File tree

1 file changed

+3
-1
lines changed
  • content/vault/v1.20.x/content/docs/secrets/kv/kv-v2/cookbook

1 file changed

+3
-1
lines changed

content/vault/v1.20.x/content/docs/secrets/kv/kv-v2/cookbook/patch-data.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ an existing data path in the `kv` v2 plugin.
1212

1313
<Tip title="Assumptions">
1414

15-
- You have [set up a `kv` v2 plugin](/vault/docs/secrets/kv/kv-v2/setup).
15+
- You have [set up a `kv` v2 plugin](/vault/docs/secrets/kv/kv-v2/setup).
1616
- Your authentication token has appropriate permissions for the `kv` v2 plugin:
1717
- **`patch`** permission to make direct updates with `PATCH` actions.
1818
- **`create`**+**`update`** permission if you want to make indirect
1919
updates with the Vault CLI by combining `GET` and `POST` actions.
2020
- You know the keys or [subkeys](/vault/docs/secrets/kv/kv-v2/cookbook/read-subkey)
2121
you want to patch.
22+
- The secret path you want to update already exists. You cannot create
23+
new paths with a patch.
2224

2325
</Tip>
2426

0 commit comments

Comments
 (0)
0