on main help sign in
fix(bedrock): improve detection of pre-existing aws credentials
commit57ae2b44f570193d7a45c19aacabb9afdb30d91f authorAndrey Nering <andreynering@users.noreply.github.com> dateThu 28 May 2026, 17:54 (5 months ago) parent36f0976
1 file changed+3
internal/config/load.go+3
internal/config/load.go+3
@@ -813,6 +813,9 @@ func hasAWSCredentials(env env.Env) bool {
813813 if _, err := os.Stat(filepath.Join(home.Dir(), ".aws/credentials")); err == nil && !testing.Testing() {
814814 return true
815815 }
816+ if _, err := os.Stat(filepath.Join(home.Dir(), ".aws/login")); err == nil && !testing.Testing() {
817+ return true
818+ }
816819
817820 return false
818821}