Create a container registry
Adds a container registry to the organization, with the credentials Kapten uses to pull and push images.
/container-registryAuthorizationBearer token (JWT) · headerrequiredJWT token passed in the Authorization header using the Bearer <token> format.
application/jsonnamestringrequiredName of the container registry.
descriptionstringOptional container registry description.
typestringrequiredSTANDARDurlstringrequiredFull container registry URL.
usernamestringrequiredRegistry username.
passwordstringrequiredRegistry password.
namestringrequiredName of the container registry.
descriptionstringOptional container registry description.
typestringrequiredECRurlstringrequiredFull container registry URL.
access_key_idstringrequiredAWS access key ID.
secret_access_keystringrequiredAWS secret access key.
regionstringrequiredAWS region hosting the registry.
role_arnstringOptional IAM role ARN to assume.
namestringrequiredName of the container registry.
descriptionstringOptional container registry description.
typestringrequiredGCP_ARTIFACT_REGISTRYurlstringrequiredFull container registry URL.
json_credentialsstringrequiredJSON-formatted GCP service account credentials.
namestringrequiredName of the container registry.
descriptionstringOptional container registry description.
typestringrequiredSCALEWAYurlstringrequiredFull container registry URL.
access_key_idstringrequiredScaleway access key ID.
secret_access_keystringrequiredScaleway secret access key.
regionstringrequiredScaleway region hosting the registry.
Container registry created successfully
iduuidrequiredA universally unique identifier (UUID) string
organization_iduuidrequiredA universally unique identifier (UUID) string
s_idstringrequiredShort identifier for the container registry resource.
namestringrequiredName of the container registry.
descriptionstringOptional container registry description.
typecontainer_registry_typerequiredContainer registry type.
STANDARDECRGCP_ARTIFACT_REGISTRYSCALEWAYconfigurationcontainer_registry_configurationrequiredShow propertiesHide properties
urlstringrequiredPublic registry URL.
regionstringRegistry region when the provider exposes one.
role_arnstringOptional AWS IAM role ARN for ECR access.
created_atstring<date-time>requiredTimestamp when the container registry was created.
updated_atstring<date-time>requiredTimestamp when the container registry was last updated.
deleted_atstring<date-time> | nullTimestamp when the container registry was deleted.
Error
codeinteger<int32>requiredmessagestringrequiredreasonstringOptional stable machine-readable reason for programmatic error handling