Skip to content

Commit

Permalink
updated aws_sso_ssh.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Nov 28, 2024
1 parent cb4dee1 commit 735d152
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/aws_sso_ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ fi

# AWS SSO uses ~/.aws/sso/cache/ not old credentials file
#creds="${AWS_SHARED_CREDENTIALS_FILE:-$HOME/.aws/credentials}"

# shellcheck disable=SC2012
creds="$(ls -t ~/.aws/sso/cache/* | head -n1)"

timestamp "Latest AWS SSO cache file found is: $creds"

if is_mac; then
Expand Down

0 comments on commit 735d152

Please sign in to comment.