diff --git a/vault/logical_system.go b/vault/logical_system.go index 876c9abd46..a3c22d127b 100644 --- a/vault/logical_system.go +++ b/vault/logical_system.go @@ -950,7 +950,7 @@ func (b *SystemBackend) handleUnmount(ctx context.Context, req *logical.Request, return nil, logical.ErrReadOnly } - // We return success when the mount does not exists to not expose if the + // We return success when the mount does not exist to not expose if the // mount existed or not match := b.Core.router.MatchingMount(ctx, path) if match == "" || ns.Path+path != match { @@ -1873,7 +1873,7 @@ func (b *SystemBackend) handleDisableAuth(ctx context.Context, req *logical.Requ return nil, logical.ErrReadOnly } - // We return success when the mount does not exists to not expose if the + // We return success when the mount does not exist to not expose if the // mount existed or not match := b.Core.router.MatchingMount(ctx, fullPath) if match == "" || ns.Path+fullPath != match { diff --git a/website/source/guides/secret-mgmt/versioned-kv.html.md b/website/source/guides/secret-mgmt/versioned-kv.html.md index 4ab643d656..2060d51e9e 100644 --- a/website/source/guides/secret-mgmt/versioned-kv.html.md +++ b/website/source/guides/secret-mgmt/versioned-kv.html.md @@ -844,7 +844,7 @@ $ vault kv metadata put -cas-required=true secret/partner Once check-and-set is enabled, every write operation requires `cas` value to be passed. If you are sure that you want to overwrite the existing key-value, set `cas` to match the current version. Set `cas` to `0` if you want to write the -secret _only if_ the key does not exists. +secret _only if_ the key does not exist. **Example:** @@ -896,7 +896,7 @@ $ curl --header "X-Vault-Token: ..." \ Once check-and-set is enabled, every write operation requires `cas` value to be passed. If you are sure that you want to overwrite the existing key-value, set `cas` to match the current version. Set `cas` to `0` if you want to write the -secret _only if_ the key does not exists. +secret _only if_ the key does not exist. **Example:**