Get Managed Registry Credential
Retrieves a managed registry credential. The id of the organization is fetched from CSP token
The registry credential
{
"id": "149cfa79-352c-4555-9d28-4442de551828",
"name": "robot$registry-user",
"description": "Credentials for testing",
"created_at": "2023-03-03T00:59:52.762Z",
"created_by": "johndoe",
"updated_at": "2023-03-03T00:59:52.762Z",
"updated_by": "Bitnami Secure Images",
"removed_at": "2023-03-03T00:59:52.762Z",
"removed_by": "johndoe",
"expires_at": "2025-03-03T00:59:52.762Z",
"status": "ACTIVE"
}
Identifier of a managed registry credential
Name of the credentials
Description of the credential
Date of the creation of the credential
Name of the user that created the credential
Date of the update of the credential
Name of the user that updated the credential
Date of the removal of the credential
Name of the user that removed the credential
Date when the credential expires
Status of the credential (ACTIVE, EXPIRED, REMOVED)
An error related to the request
{
"type": "https://example.com/probs/validation-error",
"title": "Validation error",
"status": 400,
"detail": "There was an error validating the request",
"violations": [
{
"field": "amount",
"message": "It should be greater than zero"
}
]
}
It represents a constraints violation error
The requesting user is not authorized to get the credential
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The registry or the credential is not found
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
An internal server error object
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The server is temporarily unavailable
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
curl -H 'Authorization: <value>' https://{api_host}/v1/registries/{registry_id}/credentials/{credential_id}