Authorizations
Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"
Path Parameters
Organization ID
Body
application/json
The type of your container registry
Available options:
ECR, SCALEWAY_CR, DOCKER_HUB, GITHUB_CR, GITHUB_ENTERPRISE_CR, GITLAB_CR, PUBLIC_ECR, DOCR, GENERIC_CR, GCP_ARTIFACT_REGISTRY, AZURE_CR This field is dependent of the container registry kind:
ECRneeds in the config: region, access_key_id, secret_access_keySCALEWAY_CRneeds in the config: region, scaleway_access_key, scaleway_secret_keyGCP_ARTIFACT_REGISTRYneeds in the config: region, json_credentialsDOCKER_HUBneeds in the config (optional): username, passwordGITHUB_CRneeds in the config (optional): username, passwordGITLAB_CRneeds in the config (optional): username, passwordPUBLIC_ECRdoesn't need credentials infoGENERIC_CRneeds in the config (optional): username, passwordDOCRis not supported anymore
URL of the container registry:
- For
DOCKER_HUB: it must behttps://docker.io(default with 'https://docker.io' if no url provided forDOCKER_HUB) - For
GITHUB_CR: it must behttps://ghcr.io(default with 'https://ghcr.io' if no url provided forGITHUB_CR) - For
GITLAB_CR: it must behttps://registry.gitlab.com(default with 'https://registry.gitlab.com' if no url provided forGITLAB_CR) - For others: it's required and must start by
https://
Response
Create a Container Registry
The type of your container registry
Available options:
ECR, SCALEWAY_CR, DOCKER_HUB, GITHUB_CR, GITHUB_ENTERPRISE_CR, GITLAB_CR, PUBLIC_ECR, DOCR, GENERIC_CR, GCP_ARTIFACT_REGISTRY, AZURE_CR URL of the container registry
The number of services using this container registry