15 #include <aws/core/platform/Environment.h> 21 static const char *
const kProfileLogTag =
"ProfileConfigFileAWSCredentialsProvider";
30 std::shared_ptr<AWSProfileConfigLoader>(Aws::MakeShared<AWSConfigFileProfileConfigLoader>(
34 std::shared_ptr<AWSProfileConfigLoader>(Aws::MakeShared<AWSConfigFileProfileConfigLoader>(
39 if (!profile_from_env.empty()) {
50 return credentials_file_iter->second;
54 return config_file_iter->second;
std::shared_ptr< AWSProfileConfigLoader > credentials_file_loader_
Aws::String profile_to_use_
static const char *const kAwsProfileEnvironmentVariable
static const char *const kDefaultProfile
static const char *const kProfileLogTag
const Aws::Config::Profile GetProfile()
std::shared_ptr< AWSProfileConfigLoader > config_file_loader_