Skip to content
Start here

Credentials

Generate a JWT to interact with the specified image registry.
client.containers.registries.credentials.generate(stringdomain, CredentialGenerateParams { account_id, expiration_minutes, permissions } params, RequestOptionsoptions?): CredentialGenerateResponse { account_id, password, registry_host, username }
POST/accounts/{account_id}/containers/registries/{domain}/credentials
ModelsExpand Collapse
CredentialGenerateResponse { account_id, password, registry_host, username }

Credentials returned for an authenticated registry configured on a Containers account.

account_id: string

A unique identifier for the user’s account.

password: string

The password to use when authenticating to the image registry.

registry_host: string

The domain of the image registry these credentials target.

username: string

The username to use when authenticating to the image registry.