codespaces
Get a secret for the authenticated user
Gets a development environment secret available to a user's codespaces without revealing its encrypted value.
The authenticated user must have Codespaces access to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the codespace or codespace:secrets scope to use this endpoint.
get/user/codespaces/secrets/{secret_name}
Path parameters
secret_namestring required
The name of the secret.
Response
Response
Example response
{
"name": "SECRET_NAME",
"selected_repositories_url": "https://api.github.com/user/secrets/SECRET_NAME/repositories"
}