Integrations /
Get registry
Views a set of registry credential data.
Required permission
Account > Credentials > General > Read Encrypted
Path parameters
credentialId
string requiredID of the registry credential
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredIdentifier for the credentials.name
string requiredName of the saved credentials.description
string requiredDescription of the saved credentials.restrictions
{object} requiredData about whether the credentials are restricted to certain projects.restricted
boolean requiredWhether the credentials are restricted to specific projects.projects
[array] requiredAn array of projects the credentials are restricted to, if applicable.- stringThe id of the project.
provider
string requiredThe registry provider associated with this set of credentials.one ofdockerhub, gcr, gcr-eu, gcr-us, gitlab, github, customauths
{object}The `auths` data extracted from your Docker config file.
API
CLI
JS Client
GET /v1/integrations/registries/{credentialId}
Example response
200 OK
Data about the registry credentials.
JSON
{
"data": {
"id": "example-credentials",
"name": "Example Credentials",
"description": "This is a set of saved credentials.",
"restrictions": {
"restricted": true,
"projects": [
"default-project"
]
},
"provider": "dockerhub",
"auths": {
"https://index.docker.io/v1/": {
"auth": "[YOUR AUTH KEY]"
}
}
}
}