Class: Aws::STS::Types::Credentials

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

Overview

Amazon Web Services credentials for API authentication.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Method Summary

Methods included from Aws::Structure

#empty?, included, #initialize, #key?, new, #to_h, #to_s

Instance Attribute Details

#access_key_idString

The access key ID that identifies the temporary security credentials.

Returns:

  • (String)

991
992
993
994
995
996
997
998
# File 'lib/aws-sdk-sts/types.rb', line 991

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

#expirationTime

The date on which the current credentials expire.

Returns:

  • (Time)

991
992
993
994
995
996
997
998
# File 'lib/aws-sdk-sts/types.rb', line 991

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

#secret_access_keyString

The secret access key that can be used to sign requests.

Returns:

  • (String)

991
992
993
994
995
996
997
998
# File 'lib/aws-sdk-sts/types.rb', line 991

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

#session_tokenString

The token that users must pass to the service API to use the temporary credentials.

Returns:

  • (String)

991
992
993
994
995
996
997
998
# File 'lib/aws-sdk-sts/types.rb', line 991

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