AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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_idString

The access key ID that identifies the temporary security credentials.

Returns:

  • (String)

    The access key ID that identifies the temporary security credentials.

#expirationTime

The date on which the current credentials expire.

Returns:

  • (Time)

    The date on which the current credentials expire.

#secret_access_keyString

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_tokenString

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.