Github API - Test Config

GET /user/codespaces/secrets/{secret_name}
users
codespaces

Gets a secret available to a user's codespaces without revealing its encrypted value.

You must authenticate using an access token with the codespace or codespace:secrets scope to use this endpoint. User must have Codespaces access to use this endpoint.

GitHub Apps must have read access to the codespaces_user_secrets user permission to use this endpoint.
Get a secret for the authenticated user

Arguments
key secret-name

secret-name [scalar]

The name of the secret.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json codespaces-secret

codespaces-secret [object]

Secrets for a GitHub Codespace.

Attributes
created_at string

The date and time at which the secret was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.

name string

The name of the secret

selected_repositories_url string

The API URL at which the list of repositories this secret is visible to can be retrieved

updated_at string

The date and time at which the secret was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.

visibility string

The type of repositories in the organization that the secret is visible to

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)