Skip to main content
GET
/
integrations
/
ecr
/
container-registry
/
project
/
{projectId}
/
credentials
List ECR credentials
curl --request GET \
  --url https://api-eu.cybedefend.com/integrations/ecr/container-registry/project/{projectId}/credentials \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "awsAccountId": "123456789012",
    "awsRegion": "us-east-1",
    "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"

Response

List of credentials 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"

createdAt
string
required

Creation date

Example:

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

description
string

Description

Example:

"Production ECR registry"