Create Private Registry
Create a private registry in a specific provider belonging to an organization. The id of the organization is fetched from CSP token
It contains details about the registry requested
Show optional properties
{
"name": "My registry",
"description": "Registry for storing container releases",
"provider": "HARBOR",
"url": "https://harbor.mydomain.com",
"access_secret": "p4ssw0rd1234"
}
{
"name": "My registry",
"description": "Registry for storing container releases",
"provider": "HARBOR",
"url": "https://harbor.mydomain.com",
"access_key": "robot$user123",
"access_secret": "p4ssw0rd1234",
"containers_organization": "my-containers-org",
"charts_organization": "my-charts-org"
}
Name of the registry
Description of the registry
Provider of the registry (platform that hosts it). Supported values are: AMAZON_ELASTIC_CONTAINER_REGISTRY, HARBOR, NEXUS_CONTAINER_REGISTRY, AZURE_CONTAINER_REGISTRY, JFROG_CONTAINER_REGISTRY, GITHUB_CONTAINER_REGISTRY, GOOGLE_ARTIFACT_REGISTRY, DOCKERHUB, IONOS
Url of the registry
Access key to authenticate to the registry
Access secret to authenticate to the registry
Dockerhub organization where the containers will be published (Only for DOCKERHUB registry provider)
Dockerhub organization where the charts will be published (Only for DOCKERHUB registry provider)
The private registry has been created
Response Headers
URL to the created private registry
An error related to the request
"ConstraintsViolationsError Object"
It represents a constraints violation error
The requesting user is not authorized to create registries
"Error403 Object"
An internal server error object
"Error500 Object"
The server is temporarily unavailable
"Error503 Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"access_secret:"string","description:"string","name:"string","provider:"string","url:"string"}' https://{api_host}/v1/registries