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