Skip to content

AuthorizationData

Source code in docs_src/capo_ecr_public/types/authorization_data.py
class AuthorizationData(TypedDict, closed=True):
    authorization_token: NotRequired["capo_ecr_public.types.base64.Base64"]
    """<p>A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format <code>user:password</code> for public registry authentication using <code>docker login</code>.</p>"""
    expires_at: NotRequired[
        "capo_ecr_public.types.expiration_timestamp.ExpirationTimestamp"
    ]
    """<p>The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.</p>"""

authorization_token instance-attribute

authorization_token: NotRequired[Base64]

A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password for public registry authentication using docker login.

expires_at instance-attribute

expires_at: NotRequired[ExpirationTimestamp]

The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.