Skip to main content
GET
Get ECR credential details

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"

createdAt
string
required

Creation date

Example:

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

awsAccessKeyId
string

AWS Access Key ID (static_keys mode only)

Example:

"AKIAIOSFODNN7EXAMPLE"

credentialType
enum<string>

Authentication mode

Available options:
static_keys,
iam_role
roleArn
string

IAM role ARN (iam_role mode only)

Example:

"arn:aws:iam::123456789012:role/cybedefend-ecr"

description
string

Description

Example:

"Production ECR registry"