Skip to content

Commit 06bff8e

Browse files
Implement DashButton on how-to.mdx
1 parent 1f82edf commit 06bff8e

File tree

1 file changed

+28
-19
lines changed
  • src/content/docs/secrets-store/manage-secrets

1 file changed

+28
-19
lines changed

src/content/docs/secrets-store/manage-secrets/how-to.mdx

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 2
66
---
77

8-
import { Tabs, TabItem, APIRequest } from "~/components";
8+
import { Tabs, TabItem, APIRequest, DashButton } from "~/components";
99

1010
Refer to the sections below to learn about common actions you might want to take when managing your data in Secrets Store.
1111

@@ -19,8 +19,11 @@ You must have a [Super Administrator or Secrets Store Admin role](/secrets-store
1919

2020
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
2121

22-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
23-
2. Go to **Secrets Store** and select **Create secret**.
22+
1. In the Cloudflare dashboard, go to the **Secrets Store** page.
23+
24+
<DashButton url="/?to=/:account/secrets-store" />
25+
26+
2. Select **Create secret**.
2427
3. Fill in the required fields. Note that, once the secret is saved, the secret value will no longer be available for viewing.
2528
4. (Optional) Select **Add additional secret** to create more than one secret at a time.
2629
5. Select **Save** to confirm.
@@ -58,12 +61,14 @@ Duplicate a secret to keep the same secret value but change name, scope, or comm
5861

5962
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
6063

61-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
62-
2. Go to **Secrets Store**.
63-
3. Search for the secret you would like to duplicate within the existing secrets list.
64-
4. Select the three dots next to the secret and choose **Duplicate**.
65-
5. Edit the **Secret name**, **Permission scope**, or **Comment**, according to your needs.
66-
6. Select **Save** to confirm.
64+
1. In the Cloudflare dashboard, go to the **Secrets Store** page.
65+
66+
<DashButton url="/?to=/:account/secrets-store" />
67+
68+
2. Search for the secret you would like to duplicate within the existing secrets list.
69+
3. Select the three dots next to the secret and choose **Duplicate**.
70+
4. Edit the **Secret name**, **Permission scope**, or **Comment**, according to your needs.
71+
5. Select **Save** to confirm.
6772

6873
</TabItem> <TabItem label="API">
6974

@@ -96,11 +101,13 @@ You can also edit the secret **Permission scope** and **Comment**.
96101

97102
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
98103

99-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
100-
2. Go to **Secrets Store**.
101-
3. Search for the secret you would like to edit within the existing secrets list.
102-
4. Select the three dots next to the secret and choose **Edit**.
103-
5. Edit the available fields according to your needs and select **Save** to confirm.
104+
1. In the Cloudflare dashboard, go to the **Secrets Store** page.
105+
106+
<DashButton url="/?to=/:account/secrets-store" />
107+
108+
2. Search for the secret you would like to edit within the existing secrets list.
109+
3. Select the three dots next to the secret and choose **Edit**.
110+
4. Edit the available fields according to your needs and select **Save** to confirm.
104111

105112
</TabItem> <TabItem label="API">
106113

@@ -128,11 +135,13 @@ Before deleting a secret, make sure it is not deployed in your [Workers applicat
128135

129136
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">
130137

131-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
132-
2. Go to **Secrets Store**.
133-
3. Search for the secret you would like to delete within the existing secrets list.
134-
4. Select the three dots next to the secret and choose **Delete**.
135-
5. Type in the secret name and select **Delete** to confirm.
138+
1. In the Cloudflare dashboard, go to the **Secrets Store** page.
139+
140+
<DashButton url="/?to=/:account/secrets-store" />
141+
142+
2. Search for the secret you would like to delete within the existing secrets list.
143+
3. Select the three dots next to the secret and choose **Delete**.
144+
4. Type in the secret name and select **Delete** to confirm.
136145

137146
</TabItem> <TabItem label="API">
138147

0 commit comments

Comments
 (0)