TokenPassword Class
The password that will be used for authenticating the token of a container registry.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
TokenPassword(*, creation_time: datetime | None = None, expiry: datetime | None = None, name: str | _models.TokenPasswordName | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
creation_time
|
The creation datetime of the password. Default value: None
|
expiry
|
The expiry datetime of the password. Default value: None
|
name
|
The password name "password1" or "password2". Known values are: "password1" and "password2". Default value: None
|
Variables
Name | Description |
---|---|
creation_time
|
The creation datetime of the password. |
expiry
|
The expiry datetime of the password. |
name
|
The password name "password1" or "password2". Known values are: "password1" and "password2". |
value
|
The password value. |