Reference
Deno Deploy layers
A layer's variables, inherited by every app that includes it, merged per key.
A layer's variables, inherited by every app that includes it, merged per key.
Connection
| What | This provider |
|---|---|
| Vendor | Deno Deploy |
| Key | deno-deploy-layer-env |
| Availability | available. You can connect it today. |
| Credential we hold | deno-token |
| Values read back | no |
| Activation | on-next-deploy |
Directions
| Direction | What it does |
|---|---|
export | We write names and values from your environment into the store. |
Deno Deploy returns no value once it holds one, so we can write here and cannot read back.
Activation
on-next-deploy. A new value waits there and arrives with your next deploy.
Conflict policies
| Direction | Policies you can pick |
|---|---|
export | create_only, overwrite, overwrite_and_prune |
How syncs work says what each one does.
Connect
Paste a credential from the vendor. We seal it and never show it again.
| Field | Label | Kind | Required | What it is |
|---|---|---|---|---|
token | Access token | secret; we mask it here and seal it | yes | A Deno Deploy access token that can edit layers. |
Mapping fields
You answer these once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
layerSlug | Layer | text | yes | no | The layer whose variables this environment maps onto. Every app that includes it reads them. |
context | Context | choice | yes | yes | Deno keeps production, development and build as separate sets. One of Production, Development, Build. Starts at production. |
Required permissions
We probe for these when we verify the connection.
| Permission | Directions | Blocking | Without it |
|---|---|---|---|
layers:read | every direction | yes | Preview cannot list the layer's variables. |
layers:write | export | yes | Export cannot write anything. |