codespace
or codespace:secrets
scope to use this endpoint. User must have Codespaces access to use this endpoint.codespaces_user_secrets
user permission to use this endpoint.curl --location --request GET 'https://api.github.com/user/codespaces/secrets'
{
"secrets": [
{
"created_at": "2019-08-24T14:15:22Z",
"name": "SECRET_NAME",
"selected_repositories_url": "https://api.github.com/user/secrets/SECRET_NAME/repositories",
"updated_at": "2019-08-24T14:15:22Z",
"visibility": "all"
}
],
"total_count": 0
}