Class: Aws::ECRPublic::Types::AuthorizationData
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECRPublic::Types::AuthorizationData
- Defined in:
- gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb
Overview
An authorization token data object that corresponds to a public registry.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#authorization_token ⇒ String
A base64-encoded string that contains authorization data for a public Amazon ECR registry.
-
#expires_at ⇒ Time
The Unix time in seconds and milliseconds when the authorization token expires.
Instance Attribute Details
#authorization_token ⇒ String
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
.
30 31 32 33 34 35 |
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 30 class AuthorizationData < Struct.new( :authorization_token, :expires_at) SENSITIVE = [] include Aws::Structure end |
#expires_at ⇒ Time
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
30 31 32 33 34 35 |
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 30 class AuthorizationData < Struct.new( :authorization_token, :expires_at) SENSITIVE = [] include Aws::Structure end |