Skip to main content
GET
/
project
/
{projectId}
/
integrations
/
ecr
/
container-registry
/
credentials
List ECR credentials
curl --request GET \
  --url https://us.cybedefend.com/project/{projectId}/integrations/ecr/container-registry/credentials \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "awsAccountId": "123456789012",
    "awsRegion": "us-east-1",
    "createdAt": "2025-01-01T00:00:00Z",
    "description": "Production ECR registry"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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"