AWS SDK for C++  1.8.60
AWS SDK for C++
Public Member Functions | List of all members
Aws::Auth::EnvironmentAWSCredentialsProvider Class Reference

#include <AWSCredentialsProvider.h>

+ Inheritance diagram for Aws::Auth::EnvironmentAWSCredentialsProvider:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from Aws::Auth::AWSCredentialsProvider
virtual bool IsTimeToRefresh (long reloadFrequency)
 
virtual void Reload ()
 
- Protected Attributes inherited from Aws::Auth::AWSCredentialsProvider
Aws::Utils::Threading::ReaderWriterLock m_reloadLock
 

Detailed Description

Reads AWS credentials from the Environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN if they exist. If they are not found, empty credentials are returned.

Definition at line 131 of file AWSCredentialsProvider.h.

Member Function Documentation

◆ GetAWSCredentials()

AWSCredentials Aws::Auth::EnvironmentAWSCredentialsProvider::GetAWSCredentials ( )
overridevirtual

Reads AWS credentials from the Environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN if they exist. If they are not found, empty credentials are returned. Credentials are not cached.

Implements Aws::Auth::AWSCredentialsProvider.


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