Skip to main content
POST
Store ACR Container Registry credentials

Path Parameters

organizationId
string<uuid>
required

CybeDefend organization ID

Example:

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

Body

application/json

ACR credentials to store

projectId
string
required

CybeDefend project ID to associate this credential with

Example:

"097bbbf4-d1eb-4512-9950-684445279808"

acrLoginServer
string
required

ACR Login Server URL

Example:

"myregistry.azurecr.io"

servicePrincipalId
string
required

Service Principal ID (App ID)

Example:

"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

servicePrincipalPassword
string
required

Service Principal Password (Client Secret)

Example:

"your-secret-password"

description
string

Description for this credential

Example:

"Production ACR registry"

Response

Credentials stored successfully

id
string
required

Credential ID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

acrLoginServer
string
required

ACR Login Server URL

Example:

"myregistry.azurecr.io"

servicePrincipalId
string
required

Service Principal ID

Example:

"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

createdAt
string
required

Creation date

Example:

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

description
string

Description

Example:

"Production ACR registry"