Represents a session using temporary AWS credentials. Use {AWS::STS#new_session} or {AWS::STS#new_federated_session} to get a new set of temporary credentials.
A hash containing the following keys:
:access_key_id
:secret_access_key
:session_token
This hash may be passed as-is to {AWS.config} or to the constructor of any service interface that supports temporary security credentials from the AWS Security Token Service.
@return [Hash]
The date on which these credentials expire.
@return [Time]
@private
# File lib/aws/sts/session.rb, line 41 def initialize(opts = {}) @credentials = opts[:credentials] @expires_at = opts[:expires_at] end