Class: Aws::CognitoIdentity::Types::Credentials

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentity/types.rb

Overview

Credentials for the provided identity ID.

Constant Summary collapse

SENSITIVE =
[:secret_key]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The Access Key portion of the credentials.

Returns:

  • (String)


152
153
154
155
156
157
158
159
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 152

class Credentials < Struct.new(
  :access_key_id,
  :secret_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#expirationTime

The date at which these credentials will expire.

Returns:

  • (Time)


152
153
154
155
156
157
158
159
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 152

class Credentials < Struct.new(
  :access_key_id,
  :secret_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#secret_keyString

The Secret Access Key portion of the credentials

Returns:

  • (String)


152
153
154
155
156
157
158
159
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 152

class Credentials < Struct.new(
  :access_key_id,
  :secret_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end

#session_tokenString

The Session Token portion of the credentials

Returns:

  • (String)


152
153
154
155
156
157
158
159
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 152

class Credentials < Struct.new(
  :access_key_id,
  :secret_key,
  :session_token,
  :expiration)
  SENSITIVE = [:secret_key]
  include Aws::Structure
end