AWS SDK for C++  1.9.21
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider Class Reference

#include <STSCredentialsProvider.h>

+ Inheritance diagram for Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider:

Public Member Functions

 STSAssumeRoleWebIdentityCredentialsProvider ()
AWSCredentials GetAWSCredentials () override
- Public Member Functions inherited from Aws::Auth::AWSCredentialsProvider
 AWSCredentialsProvider ()
virtual ~AWSCredentialsProvider ()=default

Protected Member Functions

void Reload () override
- Protected Member Functions inherited from Aws::Auth::AWSCredentialsProvider
virtual bool IsTimeToRefresh (long reloadFrequency)

Additional Inherited Members

- Protected Attributes inherited from Aws::Auth::AWSCredentialsProvider
Aws::Utils::Threading::ReaderWriterLock m_reloadLock

Detailed Description

To support retrieving credentials of STS AssumeRole with web identity. Note that STS accepts request with protocol of queryxml. Calling GetAWSCredentials() will trigger (if expired) a query request using AWSHttpResourceClient under the hood.

Definition at line 25 of file STSCredentialsProvider.h.

Constructor & Destructor Documentation

◆ STSAssumeRoleWebIdentityCredentialsProvider()

Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider::STSAssumeRoleWebIdentityCredentialsProvider ( )

Member Function Documentation

◆ GetAWSCredentials()

AWSCredentials Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider::GetAWSCredentials ( )

Retrieves the credentials if found, otherwise returns empty credential set.

Implements Aws::Auth::AWSCredentialsProvider.

◆ Reload()

void Aws::Auth::STSAssumeRoleWebIdentityCredentialsProvider::Reload ( )

Reimplemented from Aws::Auth::AWSCredentialsProvider.

The documentation for this class was generated from the following file: