private-registries
Get private registries public key for an organization
Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.
OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
get/orgs/{org}/private-registries/public-key
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/private-registries/public-key
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Response
Response
Example response
{
"key_id": "012345678912345678",
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234"
}Changes
No recorded changes to this operation across all 83 revisions of this API.