Skip to main content

Creates a new registry configuration.

POST 

/api/v1/orgs/{orgId}/containers/registries

Overview: Creates a new registry configuration with automatic encryption for sensitive credentials.

Registry Type Requirements:

• DockerHub: Requires username and accessToken (must be provided together).

• AzureACR: Requires username and userPassword (must be provided together).

• AwsECR:region is required. accessKey and accessSecretKey are optional, but if provided, they must be used together.

• Custom (e.g., Harbor): All credentials are optional. If authentication is used, username and userPassword must be provided together.

Please refer to the Example Value section below to view the complete request examples for each Registry type.

Request

Responses

OK