You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Secrets Store] Use DashButton and cross-link AI Gateway (#24883)
* Change to Secrets Store (plural) for consistency
* Add links from Secrets Store docs to AI Gateway
* Add AI Gateway to integrations sidenav and adjust titles
* Update access-control and link from bring-your-own-keys
* Implement DashButton on how-to.mdx
* Implement DashButton on workers.mdx
Bring your own keys (BYOK) is a feature in Cloudflare AI Gateway that allows you to securely store your AI provider API keys directly in the Cloudflare dashboard. Instead of including API keys in every request to your AI models, you can configure them once in the dashboard, and reference them in your gateway configuration.
14
14
15
-
The keys are stored securely with [Secret Store](/secrets-store/) and allows for:
15
+
The keys are stored securely with [Secrets Store](/secrets-store/) and allows for:
16
16
17
17
- Secure storage and limit exposure
18
18
- Easier key rotation
@@ -23,7 +23,7 @@ The keys are stored securely with [Secret Store](/secrets-store/) and allows for
23
23
### Prerequisites
24
24
25
25
- Ensure your gateway is [authenticated](/ai-gateway/configuration/authentication/).
26
-
- Ensure you have appropriate permissions to create and deploy secrets on Secret Store.
26
+
- Ensure you have appropriate [permissions](/secrets-store/access-control/) to create and deploy secrets on Secrets Store.
Copy file name to clipboardExpand all lines: src/content/docs/secrets-store/access-control.mdx
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,30 @@ Secrets Store allows security administrators to have more control by implementin
13
13
While all Cloudflare accounts will have access to the Secrets Store section on the dashboard, only users with the necessary permissions will be able to interact with it, as described below.
14
14
:::
15
15
16
-
## Relevant roles for Secrets Store
16
+
## Relevant roles
17
17
18
18
Refer to the list below for default role definitions.
19
19
20
-
-**Super Administrator**: Can create, edit, duplicate, delete, and view secrets metadata. Can also [add a Secrets Store binding to a Worker](/secrets-store/integrations/workers/).
21
-
-**Secrets Store Admin**: Can create, edit, duplicate, delete, and view secrets metadata.
22
-
-**Secrets Store Deployer**: Can view secrets metadata but cannot create, edit, duplicate, nor delete secrets. Can also [add a Secrets Store binding to a Worker](/secrets-store/integrations/workers/).
23
-
-**Secrets Store Reporter**: Can view secrets metadata. Cannot perform any actions (create, edit, duplicate, delete secrets), nor add a Secrets Store binding to a Worker.
20
+
#### Super Administrator
21
+
22
+
- Can create, edit, duplicate, delete, and view secrets metadata.
23
+
- Can [add a Secrets Store binding to a Worker](/secrets-store/integrations/workers/).
24
+
- Can [create an association between a secret and an AI gateway](/ai-gateway/configuration/bring-your-own-keys/).
25
+
26
+
#### Secrets Store Admin
27
+
28
+
- Can create, edit, duplicate, delete, and view secrets metadata.
29
+
30
+
#### Secrets Store Deployer
31
+
32
+
- Can view secrets metadata but cannot create, edit, duplicate, nor delete secrets.
33
+
- Can [add a Secrets Store binding to a Worker](/secrets-store/integrations/workers/).
34
+
- Can [create an association between a secret and an AI gateway](/ai-gateway/configuration/bring-your-own-keys/).
35
+
36
+
#### Secrets Store Reporter
37
+
38
+
- Can view secrets metadata.
39
+
- Cannot perform any actions (create, edit, duplicate, delete secrets), nor use Secrets Store integrations with other Cloudflare products.
Copy file name to clipboardExpand all lines: src/content/docs/secrets-store/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Encrypt and store sensitive information as secrets that are securely reusable ac
21
21
22
22
Cloudflare Secrets Store is a secure, centralized location in which account-level secrets are stored and managed. The secrets are securely encrypted and stored across all [Cloudflare data centers](https://www.cloudflare.com/network/).
23
23
24
-
Secrets Store is currently [compatible with Cloudflare Workers](/secrets-store/integrations/workers/). Integrations with other products will be added in the future.
24
+
Secrets Store is currently compatible with [Cloudflare Workers](/secrets-store/integrations/workers/) and [AI Gateway](/ai-gateway/configuration/bring-your-own-keys/). Integrations with other products will be added in the future.
25
25
26
26
:::note[China availability]
27
27
Secrets Store is unavailable in the [Cloudflare China Network](/china-network/), operated by Cloudflare's partner JD Cloud.
[Cloudflare Secrets Store](/secrets-store/) is a secure, centralized location in which account-level secrets are stored and managed. The secrets are securely encrypted and stored across all Cloudflare data centers.
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
60
-
2. Go to **Secrets Store** and select **Create secret**.
59
+
1. In the Cloudflare dashboard, go to the **Secrets Store** page.
60
+
61
+
<DashButtonurl="/?to=/:account/secrets-store" />
62
+
63
+
2. Select **Create secret**.
61
64
3. Fill in the required fields, choosing _Workers_ as the **Permission scope**. Once the secret is saved, the secret value will no longer be available for viewing.
62
65
4. (Optional) Select **Add additional secret** to create more than one secret at a time.
63
66
5. Select **Save** to confirm.
@@ -120,8 +123,11 @@ secrets_store_secrets = [
120
123
121
124
### Via Dashboard
122
125
123
-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
124
-
2. Go to **Workers & Pages** and select a Workers application.
126
+
1. In the Cloudflare dashboard, go to **Workers & Pages**.
Before deleting a secret, make sure it is not deployed. Secrets Store secrets in use are listed in the respective [Workers application](https://dash.cloudflare.com/?to=/:account/workers-and-pages/)under **Settings** > **Bindings**.
133
+
Before deleting a secret, make sure it is not deployedin your [Workers applications](https://dash.cloudflare.com/?to=/:account/workers-and-pages/)or [AI gateways](https://dash.cloudflare.com/?to=/:account/ai/ai-gateway).
0 commit comments