Skip to main content
GET
/
integrations
/
ecr
/
container-registry
/
project
/
{projectId}
/
credentials
/
{credentialId}
Get ECR credential details
curl --request GET \
  --url https://api-eu.cybedefend.com/integrations/ecr/container-registry/project/{projectId}/credentials/{credentialId} \
  --header 'x-api-key: <api-key>'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "awsAccountId": "123456789012",
  "awsRegion": "us-east-1",
  "awsAccessKeyId": "AKIAIOSFODNN7EXAMPLE",
  "createdAt": "2025-01-01T00:00:00Z",
  "description": "Production ECR registry"
}

Authorizations

x-api-key
string
header
required

API Key for authentication. You can generate an API key from your personal settings.

Path Parameters

projectId
string<uuid>
required

CybeDefend project ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

credentialId
string<uuid>
required

Credential ID to retrieve

Example:

"550e8400-e29b-41d4-a716-446655440001"

Response

Credential details retrieved successfully

id
string
required

Credential ID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

awsAccountId
string
required

AWS Account ID (12 digits)

Example:

"123456789012"

awsRegion
string
required

AWS Region

Example:

"us-east-1"

awsAccessKeyId
string
required

AWS Access Key ID

Example:

"AKIAIOSFODNN7EXAMPLE"

createdAt
string
required

Creation date

Example:

"2025-01-01T00:00:00Z"

description
string

Description

Example:

"Production ECR registry"