Class: Aws::ECR::Types::AuthorizationData
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::AuthorizationData
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecr/types.rb
Overview
An object representing authorization data for an Amazon ECR registry.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#authorization_token ⇒ String
A base64-encoded string that contains authorization data for the specified Amazon ECR registry.
-
#expires_at ⇒ Time
The Unix time in seconds and milliseconds when the authorization token expires.
-
#proxy_endpoint ⇒ String
The registry URL to use for this authorization token in a ‘docker login` command.
Instance Attribute Details
#authorization_token ⇒ String
A base64-encoded string that contains authorization data for the specified Amazon ECR registry. When the string is decoded, it is presented in the format ‘user:password` for private registry authentication using `docker login`.
55 56 57 58 59 60 61 |
# File 'lib/aws-sdk-ecr/types.rb', line 55 class AuthorizationData < Struct.new( :authorization_token, :expires_at, :proxy_endpoint) 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.
55 56 57 58 59 60 61 |
# File 'lib/aws-sdk-ecr/types.rb', line 55 class AuthorizationData < Struct.new( :authorization_token, :expires_at, :proxy_endpoint) SENSITIVE = [] include Aws::Structure end |
#proxy_endpoint ⇒ String
The registry URL to use for this authorization token in a ‘docker login` command. The Amazon ECR registry URL format is `aws_account_id.dkr.ecr.region.amazonaws.com`. For example, `012345678910.dkr.ecr.us-east-1.amazonaws.com`..
55 56 57 58 59 60 61 |
# File 'lib/aws-sdk-ecr/types.rb', line 55 class AuthorizationData < Struct.new( :authorization_token, :expires_at, :proxy_endpoint) SENSITIVE = [] include Aws::Structure end |