repo
scope. GitHub Apps must have write access to the codespaces_secrets
repository permission to use this endpoint.curl --location --request GET 'https://api.github.com/repos///codespaces/secrets/public-key'
{
"created_at": "2011-01-26T19:01:12.000Z",
"id": 2,
"key": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=",
"key_id": "1234567",
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
"url": "https://api.github.com/user/keys/2"
}