Docs
Reference

Cloudflare Workers

Export secrets into a Worker's secret bindings.

Export secrets into a Worker's secret bindings.

The connection

WhatThis provider
VendorCloudflare
Keycloudflare-workers
Availabilityavailable. You can connect it today.
Credential penv holdscloudflare-token
Values read backno
Activationimmediate

What it moves

DirectionWhat it does
exportWrites 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

DirectionPolicies you can pick
exportcreate_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.

FieldLabelKindRequiredWhat it is
apiTokenAPI tokensecret, masked here and sealedyes

What the connection asks for

Fixed when you connect, and shared by every mapping on it.

FieldLabelKindRequiredAdvancedWhat it is
accountIdAccount IDtextyesnoWorkers & Pages in the dashboard shows it in the right-hand column.

What a mapping asks for

Answered once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
scriptNameWorkertextyesnoThe Worker whose secret bindings this environment maps onto.

Permissions it needs

penv probes for these when it verifies the connection.

PermissionDirectionsBlockingWithout it
Account Settings:Readevery directionyesWe cannot confirm the token reaches this account.
Workers Scripts:EditexportyesExport cannot list or write this Worker's secrets.