GenerateCredentialsParameters Class

The parameters used to generate credentials for a specified token or user of a container registry.

Constructor

GenerateCredentialsParameters(*, token_id: str | None = None, expiry: datetime | None = None, name: str | _models.TokenPasswordName | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
token_id
str

The resource ID of the token for which credentials have to be generated.

Default value: None
expiry

The expiry date of the generated credentials after which the credentials become invalid.

Default value: None
name

Specifies name of the password which should be regenerated if any – password1 or password2. Known values are: "password1" and "password2".

Default value: None

Variables

Name Description
token_id
str

The resource ID of the token for which credentials have to be generated.

expiry

The expiry date of the generated credentials after which the credentials become invalid.

name

Specifies name of the password which should be regenerated if any – password1 or password2. Known values are: "password1" and "password2".