From 8f3dc3082c8b8e609bbd1f9cc48d6af5dec31af3 Mon Sep 17 00:00:00 2001 From: Chris Capurso <1036769+ccapurso@users.noreply.github.com> Date: Tue, 24 Jan 2023 15:27:15 -0500 Subject: [PATCH] change indentation level of cas field (#18806) * change indentation leve of cas field * change formatting for cas_required Co-authored-by: Yoko Hyakuna Co-authored-by: Yoko Hyakuna --- website/content/api-docs/secret/kv/kv-v2.mdx | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/website/content/api-docs/secret/kv/kv-v2.mdx b/website/content/api-docs/secret/kv/kv-v2.mdx index 65a8b2803a..c8cdb6d3e5 100644 --- a/website/content/api-docs/secret/kv/kv-v2.mdx +++ b/website/content/api-docs/secret/kv/kv-v2.mdx @@ -153,14 +153,14 @@ have an ACL policy granting the `update` capability. - `options` `(Map: )` – An object that holds option settings. -- `cas` `(int: )` - This flag is required if cas_required is set - to true on either the secret or the engine's config. If not set the write - will be allowed. In order for a write to be successful, `cas` must be set to - the current version of the secret. If set to 0 a write will only be allowed if - the key doesn’t exist as unset keys do not have any version information. Also - remember that soft deletes do not remove any underlying version data from storage. - In order to write to a soft deleted key, the cas parameter must match the key's - current version. + - `cas` `(int: )` - This flag is required if `cas_required` is set + to true on either the secret or the engine's config. If not set the write + will be allowed. In order for a write to be successful, `cas` must be set to + the current version of the secret. If set to 0 a write will only be allowed if + the key doesn't exist as unset keys do not have any version information. Also + remember that soft deletes do not remove any underlying version data from storage. + In order to write to a soft deleted key, the cas parameter must match the key's + current version. - `data` `(Map: )` – The contents of the data map will be stored and returned on read. @@ -224,10 +224,10 @@ applying a patch with the provided data. - `options` `(Map: )` – An object that holds option settings. -- `cas` `(int: )` - This flag is required if `cas_required` is set to true on either - the secret or the engine's config. In order for a write to be successful, `cas` must be set - to the current version of the secret. A patch operation must be attempted on an existing - key, thus the provided `cas` value must be greater than 0. + - `cas` `(int: )` - This flag is required if `cas_required` is set to true on either + the secret or the engine's config. In order for a write to be successful, `cas` must be set + to the current version of the secret. A patch operation must be attempted on an existing + key, thus the provided `cas` value must be greater than 0. - `data` `(Map: )` – The contents of the data map will be applied as a partial update to the existing entry via a JSON merge patch to the existing entry.