Class: Aws::STS::Types::Credentials
- Inherits:
-
Struct
- Object
- Struct
- Aws::STS::Types::Credentials
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-sts/types.rb
Overview
Amazon Web Services credentials for API authentication.
Constant Summary collapse
- SENSITIVE =
[:secret_access_key]
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.
Instance Attribute Details
#access_key_id ⇒ String
The access key ID that identifies the temporary security credentials.
1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1096 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key] include Aws::Structure end |
#expiration ⇒ Time
The date on which the current credentials expire.
1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1096 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key] include Aws::Structure end |
#secret_access_key ⇒ String
The secret access key that can be used to sign requests.
1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1096 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key] include Aws::Structure end |
#session_token ⇒ String
The token that users must pass to the service API to use the temporary credentials.
1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 1096 class Credentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key] include Aws::Structure end |