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/public-key'
{
"key": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=",
"key_id": "1234567"
}