Create a container registry credential
Stores credentials for pulling images from a private container registry. The returned uuid can then be passed as deployment_config.credential_id (UUID-valued) when creating an app with deployment_method=‘container_registry’. Token is encrypted at rest and never returned by the API.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Body
Create a container registry credential
Display name (must be unique within the workspace)
Registry provider
docker_hub, github, gitlab, aws_ecr, azure, digitalocean, quay, generic Registry username
Registry password or access token
Registry hostname URL (required for 'generic', 'aws_ecr', and 'azure'; optional otherwise)
Skip live credential validation (non-production environments only)
Response
Create a container registry credential
Api_V1_Entities_ContainerRegistryCredential model
Unique credential identifier — pass this as deployment_config.credential_id when creating an app
Display name (unique per workspace)
Registry provider: 'docker_hub', 'github', 'gitlab', 'aws_ecr', 'azure', 'digitalocean', 'quay', or 'generic'
Registry username
Registry hostname (required for 'generic', 'aws_ecr', 'azure'; optional for others)
Creation timestamp
Last update timestamp

