GenerateCredentialsParameters Class

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

Constructor

GenerateCredentialsParameters()

Variables

Name Description
tokenId
str

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

expiry
str

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

name
Union[str, <xref:"TokenPasswordName">]

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

Attributes

expiry

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

expiry: str

name

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

name: str | TokenPasswordName

tokenId

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

tokenId: str