v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Container as a Service

Create pull secret

Create a new pull secret for container image registry authentication.

post/cloud/v1/caas/secrets/{project_id}/{region_id}

Path parameters

project_idinteger required

Project id

Example:1

Project id

region_idinteger required

Region id

Example:1

Region id

Request body

loginstring required

Pull secret login

namestring required

Pull secret name

passwordstring password required

Pull secret password

registrystring required

Pull secret registry

Example request

{
  "login": "login",
  "name": "my-secret",
  "password": "password",
  "registry": "some.registry.com"
}

Response

OK

loginstring required

Pull secret login

namestring required

Pull secret name

registrystring required

Pull secret registry

updated_atstring required

Pull secret updated at

Example response

{
  "login": "login",
  "name": "my-secret",
  "registry": "some.registry.com",
  "updated_at": "2021-01-01T00:00:00Z"
}