Skip to content

Commit

Permalink
backport of commit bc09d9a
Browse files Browse the repository at this point in the history
  • Loading branch information
hellobontempo authored Dec 4, 2024
1 parent ddea592 commit f7c88b6
Show file tree
Hide file tree
Showing 22 changed files with 37 additions and 45 deletions.
2 changes: 1 addition & 1 deletion website/content/docs/auth/saml/adfs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Configure your Vault instance to work with Active Directory Federation Services

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

@include 'gui-page-instructions/enable-authn-plugin.mdx'
@include 'gui-instructions/enable-authn-plugin.mdx'

- Enable the SAML plugin:

Expand Down
6 changes: 3 additions & 3 deletions website/content/docs/auth/saml/link-vault-group-to-ad.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $ vault secrets enable -path=adfs-kv kv-v2

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

@include 'gui-page-instructions/enable-secrets-plugin.mdx'
@include 'gui-instructions/enable-secrets-plugin.mdx'

- Enable the KV plugin:

Expand Down Expand Up @@ -102,7 +102,7 @@ EOF

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

@include 'gui-page-instructions/create-acl-policy.mdx'
@include 'gui-instructions/create-acl-policy.mdx'

- Set the policy details and click **Create policy**:

Expand Down Expand Up @@ -161,7 +161,7 @@ EOF

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

@include 'gui-page-instructions/create-group.mdx'
@include 'gui-instructions/create-group.mdx'

- Follow the prompts to create an external group with the following
information:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ destroyed false

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

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

- Click through the path segments to select the relevant secret path.
- Select the **Metadata** tab.
- Click **Edit metadata >**.
- Set a new key name and value under **Custom metadata**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ destroyed false

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

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

- Click through the path segments to select the relevant secret path.
- Select the **Secret** tab.
- Select the appropriate data version from the **Version** dropdown.
- Click **Delete**.
- Select **Delete this version** to delete the selected version or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ destroyed true

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

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

- Click through the path segments to select the relevant secret path.
- Select the **Secret** tab.
- Select the appropriate data version from the **Version** dropdown.
- Click **Destroy**.
- Click **Confirm**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ destroyed false

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

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

- Click through the path segments to select the relevant secret path.
- Select the **Metadata** tab.
- Click **Edit metadata >**.
- Update the **Maximum number of versions** field.
Expand Down
5 changes: 3 additions & 2 deletions website/content/docs/secrets/kv/kv-v2/cookbook/patch-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ push the update to the plugin.

@include 'alerts/enterprise-only.mdx'

@include 'gui-page-instructions/select-kv-data.mdx'
@include 'gui-instructions/plugins/kv/open-overview.mdx'

- Click **Patch latest version +** on the key/value page.
- Select the **Secret** tab.
- Click **Patch latest version +**.
- Edit the values you want to update.
- Click **Save**.

Expand Down
4 changes: 2 additions & 2 deletions website/content/docs/secrets/kv/kv-v2/cookbook/read-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ $ vault kv get -mount shared -field prod dev/square-api

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

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

- Click through the path segments to select the relevant secret path.
- Select the **Secret** tab.
- Click the eye icon to view the desired key value.

![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)
Expand Down
14 changes: 8 additions & 6 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
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,14 @@ subkeys map[prod:<nil> sandbox:<nil> smoke:<nil>]

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

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

- Click through the path segments to select the relevant secret path.
- Note the subkeys listed on the data page.
@include 'gui-instructions/plugins/kv/open-overview.mdx'

![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)
You can read a list of available subkeys for the target path in the **Subkeys**
card.

![Partial screenshot of the Vault GUI showing subkeys "prod" and "sandbox" for secret data at path dev/square-api.](/img/gui/kv/overview-page.png)

</Tab>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ destroyed false

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

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

- Click through the path segments to select the relevant secret path.
- Select the **Secret** tab.
- Select the appropriate data version from the **Version** dropdown.
- Click **Undelete**.

Expand Down
7 changes: 4 additions & 3 deletions website/content/docs/secrets/kv/kv-v2/cookbook/write-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ The Vault GUI forcibly converts non-string keys to strings before writing data.
To preserve non-string values, use the JSON toggle to write your key/value data
as JSON.

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

- Click through the path segments to select the relevant secret path.
- Click **Create new version +**.
- Click **Create new +** from one of the following tabs:
- **Overview** tab: in the "Current version" card.
- **Secret** tab: in the toolbar.
- Set a new key name and value.
- Use the **Add** button to set additional key/value pairs.
- Click **Save** to write the new version data.
Expand Down
1 change: 1 addition & 0 deletions website/content/docs/secrets/kv/kv-v2/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Basic examples:
- [Set max data versions](/vault/docs/secrets/kv/kv-v2/cookbook/max-versions)
- [Write data](/vault/docs/secrets/kv/kv-v2/cookbook/write-data)
- [Patch and update data](/vault/docs/secrets/kv/kv-v2/cookbook/patch-data)
- [Read subkeys](/vault/docs/secrets/kv/kv-v2/cookbook/read-subkey)
- [Soft delete data](/vault/docs/secrets/kv/kv-v2/cookbook/delete-data)
- [Restore soft deleted data](/vault/docs/secrets/kv/kv-v2/cookbook/undelete-data)
- [Destroy data](/vault/docs/secrets/kv/kv-v2/cookbook/destroy-data)
Expand Down
5 changes: 3 additions & 2 deletions website/content/docs/secrets/kv/kv-v2/random-string.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,10 @@ g0bc0b6W3ii^SXa@*ie5

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

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

- Select the **Secret** tab.

- Click through the path segments to select the relevant secret path.
- Click the eye icon to view the desired key value.

![Partial screenshot of the Vault GUI showing the randomized string stored at the path dev/seeds.](/img/gui/kv/random-string.png)
Expand Down
4 changes: 2 additions & 2 deletions website/content/docs/secrets/kv/kv-v2/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $ vault secrets enable -path <mount_path> kv-v2

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

@include 'gui-page-instructions/enable-secrets-plugin.mdx'
@include 'gui-instructions/enable-secrets-plugin.mdx'

- Select the "KV" plugin.

Expand Down Expand Up @@ -221,7 +221,7 @@ $ vault policy write "KV-access-policy" ./kv-policy.hcl

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

@include 'gui-page-instructions/create-acl-policy.mdx'
@include 'gui-instructions/create-acl-policy.mdx'

- Provide a name for the policy and upload the policy definition file.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- Open the data page for your `kv` plugin:
- Open the **Overview** screen for your secret path:

1. Open the GUI for your Vault instance.

Expand All @@ -9,6 +9,4 @@

1. Select the mount path for your `kv` plugin.

1. Click through the path segments to select the relevant secret path.

1. Select the **Secret** tab
1. Click through the path segments to select the relevant secret path.
10 changes: 0 additions & 10 deletions website/content/partials/gui-page-instructions/select-kv-mount.mdx

This file was deleted.

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.

0 comments on commit f7c88b6

Please sign in to comment.