[][src]Crate sts_profile_auth

The AWS cli tool allows specifying authentication via profiles in the aws credentials file, using an entry that look like:

[profile special-profile]
role_arn = arn:aws:iam:867530912345:role/Special_Role
source_profile = default

This crate extends Rusoto's existing authentication infrastructure to support this feature.

Macros

get_client_sts

Macro to return a profile authenticated client

Structs

AwsProfileInfo

Profile meta-data, representing either a profile with an access key, or a profile utilizing sts.

StsInstance

StsInstance contains an StsClient instance, and metadata used to create it (region, keys, role_arn)

Enums

StsClientError