Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 15, 2019
1 parent b693cf1 commit 23106b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audit-output-creds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ do
cat $S_FILE
echo "# list access keys"
echo "aws --profile $profile iam list-access-keys --user-name $S_USER"
if [[ -z $1 ]] && [[ $1 == "list" ]
if [[ -z $1 ]] && [[ $1 == "list" ]]
then
aws --profile $profile iam list-access-keys --user-name $S_USER
fi
echo "# delete access key"
echo "# aws --profile $profile iam delete-access-key --user-name $S_USER --access-key-id ${info["aws_access_key_id"]}"
if [[ -z $1 ]] && [[ $1 == "delete" ]
if [[ -z $1 ]] && [[ $1 == "delete" ]]
then
aws --profile $profile iam delete-access-key --user-name $S_USER --access-key-id ${info["aws_access_key_id"]}"
fi
Expand Down

0 comments on commit 23106b4

Please sign in to comment.