mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 07:31:09 +02:00
Update operations-qs.mdx (#30573)
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
This commit is contained in:
parent
e85e19ece9
commit
38c2bf50db
@ -159,7 +159,7 @@ the operations allowed on plugin data.
|
|||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ vault policy write kv-access-policy - << EOF
|
$ vault policy write kv-access-policy - << EOF
|
||||||
path "shared/data/kv/creds/*" {
|
path "shared/data/kv/creds" {
|
||||||
capabilities = ["read", "create", "update", "delete"]
|
capabilities = ["read", "create", "update", "delete"]
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
@ -187,7 +187,7 @@ the operations allowed on plugin data.
|
|||||||
1. Try retrieving the secrets stored on the `kv/creds` path:
|
1. Try retrieving the secrets stored on the `kv/creds` path:
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ vault kv get kv/creds
|
$ vault kv get -mount=shared kv/creds
|
||||||
```
|
```
|
||||||
|
|
||||||
The command retrieves the secrets stored on the `kv/creds` path.
|
The command retrieves the secrets stored on the `kv/creds` path.
|
||||||
@ -195,7 +195,7 @@ the operations allowed on plugin data.
|
|||||||
1. Try retrieving the secrets stored on the `kv/api-keys` path:
|
1. Try retrieving the secrets stored on the `kv/api-keys` path:
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ vault kv get kv/api-keys
|
$ vault kv get -mount=shared kv/api-keys
|
||||||
```
|
```
|
||||||
|
|
||||||
The second command fails because the policy for `opsuser` does
|
The second command fails because the policy for `opsuser` does
|
||||||
|
Loading…
x
Reference in New Issue
Block a user