You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The Access Key portion of the credentials.

Returns:

  • (String)


138
139
140
141
142
143
144
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 138

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

#expirationTime

The date at which these credentials will expire.

Returns:

  • (Time)


138
139
140
141
142
143
144
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 138

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

#secret_keyString

The Secret Access Key portion of the credentials

Returns:

  • (String)


138
139
140
141
142
143
144
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 138

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

#session_tokenString

The Session Token portion of the credentials

Returns:

  • (String)


138
139
140
141
142
143
144
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 138

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