Class: Aws::S3::Types::SessionCredentials
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::SessionCredentials
- Defined in:
- gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
Overview
The established temporary security credentials of the session.
Constant Summary collapse
- SENSITIVE =
[:secret_access_key, :session_token]
Instance Attribute Summary collapse
-
#access_key_id ⇒ String
A unique identifier that's associated with a secret access key.
-
#expiration ⇒ Time
Temporary security credentials expire after a specified interval.
-
#secret_access_key ⇒ String
A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests.
-
#session_token ⇒ String
A part of the temporary security credentials.
Instance Attribute Details
#access_key_id ⇒ String
A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically.
21358 21359 21360 21361 21362 21363 21364 21365 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 21358 class SessionCredentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key, :session_token] include Aws::Structure end |
#expiration ⇒ Time
Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval.
21358 21359 21360 21361 21362 21363 21364 21365 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 21358 class SessionCredentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key, :session_token] include Aws::Structure end |
#secret_access_key ⇒ String
A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. Signing a request identifies the sender and prevents the request from being altered.
21358 21359 21360 21361 21362 21363 21364 21365 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 21358 class SessionCredentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key, :session_token] include Aws::Structure end |
#session_token ⇒ String
A part of the temporary security credentials. The session token is used to validate the temporary security credentials.
21358 21359 21360 21361 21362 21363 21364 21365 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 21358 class SessionCredentials < Struct.new( :access_key_id, :secret_access_key, :session_token, :expiration) SENSITIVE = [:secret_access_key, :session_token] include Aws::Structure end |