AWS SDK for C++AWS SDK for C++ Version 1.11.622 |
#include <AWSCredentialsProvider.h>
Reads credentials profile from the default Profile Config File. Refreshes at set interval for credential rotation. Looks for environment variables AWS_SHARED_CREDENTIALS_FILE and AWS_PROFILE. If they aren't found, then it defaults to the default profile in ~/.aws/credentials. Optionally a user can specify the profile and it will override the environment variable and defaults. To alter the file this pulls from, then the user should alter the AWS_SHARED_CREDENTIALS_FILE variable.
Definition at line 156 of file AWSCredentialsProvider.h.
REFRESH_THRESHOLD)
Initializes with refreshRateMs as the frequency at which the file is reparsed in milliseconds. Defaults to 5 minutes.
REFRESH_THRESHOLD
Initializes with a profile override and refreshRateMs as the frequency at which the file is reparsed in milliseconds. Defaults to 5 minutes.
Retrieves the credentials if found, otherwise returns empty credential set.
Implements Aws::Auth::AWSCredentialsProvider.
Returns the fullpath of the calculated credentials profile file
Returns the directory storing the profile file.
Reimplemented from Aws::Auth::AWSCredentialsProvider.