Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add updated screenshots to kv subkey docs #29067

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
15 changes: 11 additions & 4 deletions website/content/docs/secrets/kv/kv-v2/cookbook/read-subkey.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Read the available subkeys on an existing data path in the `kv` v2 plugin.

<Tab heading="CLI" group="cli">

Use `vault read` with the `/subkeys` metadata path retrieve a list of available
schavis marked this conversation as resolved.
Show resolved Hide resolved
subkeys on the given path.
Use `vault read` with the `/subkeys` path to retrieve a list of secret data
subkeys at the given path.

```shell-session
$ vault read <mount_path>/subkeys/<secret_path>
Expand Down Expand Up @@ -50,12 +50,19 @@ subkeys map[prod:<nil> sandbox:<nil> smoke:<nil>]

<Tab heading="GUI" group="gui">

@include 'alerts/enterprise-only.mdx'

@include 'gui-page-instructions/select-kv-mount.mdx'

- Click through the path segments to select the relevant secret path.
- Note the subkeys listed on the data page.
- Note the subkeys card on the overview page.

![Partial screenshot of the Vault GUI showing two key/value pairs at the path dev/square-api. The "prod" key is visible](/img/gui/kv/overview-page.png)

- Click **Patch latest version +** on the key/value page.
- Toggle **Reveal subkeys in JSON**

![Partial screenshot of the Vault GUI showing two key/value pairs at the path dev/square-api. The "prod" key is visible](/img/gui/kv/read-data.png)
![Partial screenshot of the Vault GUI showing the patch form with "reveal subkeys" toggled on. The "prod" key is visible](/img/gui/kv/patch-reveal-subkeys.png)

</Tab>

Expand Down
Binary file added website/public/img/gui/kv/overview-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading