private-registries
Get a private registry for an organization
Get the configuration of a single private registry defined for an organization, omitting its encrypted value.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
get/orgs/{org}/private-registries/{secret_name}
Path parameters
orgstring required
The organization name. The name is not case sensitive.
secret_namestring required
The name of the secret.
Response
The specified private registry configuration for the organization
Example response
{
"name": "MAVEN_REPOSITORY_SECRET",
"username": "monalisa"
}