Class: Aws::ECRPublic::Types::AuthorizationData

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#authorization_tokenString

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`.

Returns:

  • (String)


30
31
32
33
34
35
# File 'lib/aws-sdk-ecrpublic/types.rb', line 30

class AuthorizationData < Struct.new(
  :authorization_token,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#expires_atTime

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

Returns:

  • (Time)


30
31
32
33
34
35
# File 'lib/aws-sdk-ecrpublic/types.rb', line 30

class AuthorizationData < Struct.new(
  :authorization_token,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end