Reference
Cloudflare Secrets Store
Push secrets into your account-level Cloudflare Secrets Store.
Push secrets into your account-level Cloudflare Secrets Store.
The connection
| What | This provider |
|---|---|
| Vendor | Cloudflare |
| Key | cloudflare-secrets-store |
| Availability | available. You can connect it today. |
| Credential penv holds | cloudflare-token |
| Values read back | no |
| Activation | immediate |
What it moves
| Direction | What it does |
|---|---|
export | Writes names and values from penv into the store. |
Cloudflare returns no value once it holds one, so penv can write here and cannot read back.
When a written value goes live
immediate. The running app sees a new value at once.
What happens to a name that exists
| Direction | Policies you can pick |
|---|---|
export | create_only, overwrite, overwrite_and_prune |
How syncs work says what each one does.
How you connect
You paste a credential you already hold. penv seals it and never shows it again.
| Field | Label | Kind | Required | What it is |
|---|---|---|---|---|
apiToken | API token | secret, masked here and sealed | yes |
What the connection asks for
Fixed when you connect, and shared by every mapping on it.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
accountId | Account ID | text | yes | no | Workers & Pages in the dashboard shows it in the right-hand column. |
What a mapping asks for
Answered once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
storeId | Store | text | yes | no | Cloudflare allows one store per account. Its ID is in the Secrets Store dashboard URL. |
Permissions it needs
penv probes for these when it verifies the connection.
| Permission | Directions | Blocking | Without it |
|---|---|---|---|
Account Secrets Store Read | every direction | yes | Preview cannot list what the store holds. |
Account Secrets Store Edit | export | yes | Export cannot write anything. |