You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_id ⇒ String

The access key ID that identifies the temporary security credentials.

Returns:

  • (String) —

    The access key ID that identifies the temporary security credentials.

#expiration ⇒ Time

The date on which the current credentials expire.

Returns:

  • (Time) —

    The date on which the current credentials expire.

#secret_access_key ⇒ String

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

Returns:

  • (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.

Returns:

  • (String) —

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