Skip to content

Commit

Permalink
fix(backend): Fix wrong credentials file path
Browse files Browse the repository at this point in the history
  • Loading branch information
maikbasel committed Mar 27, 2024
1 parent 1e4fd59 commit c5a0558
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ impl SdkConfigAdapter {
fn get_credentials_file_location() -> error_stack::Result<String, ProfileError> {
let user_dir = UserDirs::new().expect("user dir should exist");

let default_aws_credentials_file_location = user_dir.home_dir().join(".aws").join("config");
let default_aws_credentials_file_location =
user_dir.home_dir().join(".aws").join("credentials");

let credentials_file_location = env::var("AWS_SHARED_CREDENTIALS_FILE").ok().unwrap_or(
default_aws_credentials_file_location
Expand Down

0 comments on commit c5a0558

Please sign in to comment.