Reference
GitHub Codespaces secrets
Export secrets into a GitHub repository's Codespaces store.
Export secrets into a GitHub repository's Codespaces store.
Connection
| What | This provider |
|---|---|
| Vendor | GitHub |
| Key | github-codespaces-secrets |
| Availability | available. You can connect it today. |
| Credential we hold | github-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. |
GitHub 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 |
Mapping fields
You answer these once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
repository | Repository | text | yes | no | The repository this sync writes to. |
owner | Account | text | yes | no | The account or organization that owns it. |
Required permissions
We probe for these when we verify the connection.
| Permission | Directions | Blocking | Without it |
|---|---|---|---|
user:read | every direction | yes | We cannot confirm which GitHub account this token belongs to. |
secrets:write | export | yes | Export cannot write anything. |