Class: Aws::STS::Types::Credentials
- Inherits:
-
Struct
- Object
- Struct
- Aws::STS::Types::Credentials
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sts/types.rb
Overview
AWS credentials for API authentication.
Instance Attribute Summary collapse
-
#access_key_id ⇒ String
The access key ID that identifies the temporary security credentials.
-
#expiration ⇒ Time
The date on which the current credentials expire.
-
#secret_access_key ⇒ String
The secret access key that can be used to sign requests.
-
#session_token ⇒ String
The token that users must pass to the service API to use the temporary credentials.
Method Summary
Methods included from Aws::Structure
#empty?, included, #initialize, #key?, new, #to_h
Instance Attribute Details
#access_key_id ⇒ String
The access key ID that identifies the temporary security credentials.
640 641 642 643 644 645 646 |
# File 'lib/aws-sdk-sts/types.rb', line 640 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) include Aws::Structure end |
#expiration ⇒ Time
The date on which the current credentials expire.
640 641 642 643 644 645 646 |
# File 'lib/aws-sdk-sts/types.rb', line 640 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) include Aws::Structure end |
#secret_access_key ⇒ String
The secret access key that can be used to sign requests.
640 641 642 643 644 645 646 |
# File 'lib/aws-sdk-sts/types.rb', line 640 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) include Aws::Structure end |
#session_token ⇒ String
The token that users must pass to the service API to use the temporary credentials.
640 641 642 643 644 645 646 |
# File 'lib/aws-sdk-sts/types.rb', line 640 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) include Aws::Structure end |