You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// check profile_config if either m_roleArn or m_tokenFile is not loaded from environment variable
45
-
// region source is not enforced, but we need it to construct sts endpoint, if we can't find from environment, we should check if it's set in config file.
46
-
if (m_roleArn.empty() || m_tokenFile.empty() || tmpRegion.empty())
44
+
if (m_roleArn.empty() || m_tokenFile.empty())
47
45
{
48
46
auto profile = Aws::Config::GetCachedConfigProfile(Aws::Auth::GetConfigProfileName());
49
-
if (tmpRegion.empty())
50
-
{
51
-
tmpRegion = profile.GetRegion();
52
-
}
53
47
// If either of these two were not found from environment, use whatever found for all three in config file
0 commit comments