registries

Configures a registry

Configures a registry. Access policy: restricted

post/registries/{id}/configure

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/registries/{id}/configure
  • Auth
    • API key in header X-API-KEY
    • or API key in header Authorization

Path parameters

idinteger required

Registry identifier

Request body

Authenticationboolean required

Is authentication against this registry enabled

Passwordstring

Password used to authenticate against this registry. required when Authentication is true

Regionstring

ECR region

TLSboolean

Use TLS

TLSCACertFileinteger[]

The TLS CA certificate file

TLSCertFileinteger[]

The TLS client certificate file

TLSKeyFileinteger[]

The TLS client key file

TLSSkipVerifyboolean

Skip the verification of the server TLS certificate

Usernamestring

Username used to authenticate against this registry. Required when Authentication is true

Example request

{
  "Password": "registry_password",
  "TLS": true,
  "Username": "registry_user"
}

Response

Success

Changes

No recorded changes to this operation across all 21 revisions of this API.