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

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

Overview

Credentials for the provided identity ID.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The Access Key portion of the credentials.

Returns:

  • (String)


186
187
188
189
190
191
192
193
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 186

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

#expirationTime

The date at which these credentials will expire.

Returns:

  • (Time)


186
187
188
189
190
191
192
193
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 186

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

#secret_keyString

The Secret Access Key portion of the credentials

Returns:

  • (String)


186
187
188
189
190
191
192
193
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 186

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

#session_tokenString

The Session Token portion of the credentials

Returns:

  • (String)


186
187
188
189
190
191
192
193
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 186

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