provider private-registries GET
/orgs/{org}/private-registries/public-key @utdk/github
/orgs/{org}/private-registries/public-key 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.
- org path required
- The organization name. The name is not case sensitive.
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.privateRegistries.getOrgPublicKey()