Integrations /
List registries
Lists the container registry credentials saved to this account. Does not display secrets.
Required permission
Account > Credentials > General > Read
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.credentials
[array] requiredAn array of credentials saved to this account.- {object}
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, custompagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/integrations/registries
Example response
200 OK
A list of registry credentials saved to this account.
JSON
{
"data": {
"credentials": [
{
"id": "example-credentials",
"name": "Example Credentials",
"description": "This is a set of saved credentials.",
"restrictions": {
"restricted": true,
"projects": [
"default-project"
]
},
"provider": "dockerhub"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}