Skip to content

Commit

Permalink
Merge pull request #9 from tetsuya-zama/master
Browse files Browse the repository at this point in the history
Add masking generated environment variables
  • Loading branch information
tdi authored Apr 27, 2020
2 parents fe8312e + cfb6c5c commit 89dbe4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assume-role-arn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ if [ -n "$AWS_ACCESS_KEY_ID" ]; then
echo "::set-env name=AWS_ACCESS_KEY_ID::${AWS_ACCESS_KEY_ID}"
echo "::set-env name=AWS_SECRET_ACCESS_KEY::${AWS_SECRET_ACCESS_KEY}"
echo "::set-env name=AWS_SESSION_TOKEN::${AWS_SESSION_TOKEN}"
echo "::add-mask::${AWS_ACCESS_KEY_ID}"
echo "::add-mask::${AWS_SECRET_ACCESS_KEY}"
echo "::add-mask::${AWS_SESSION_TOKEN}"
fi

0 comments on commit 89dbe4b

Please sign in to comment.