Skip to content

Commit

Permalink
Merge pull request #19 from CSSE6400/86
Browse files Browse the repository at this point in the history
added masking to hide credentials
  • Loading branch information
86LAK authored Apr 30, 2024
2 parents cca6e85 + 8313c94 commit 9682903
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:

- name: Deploy to AWS
run: |
echo "::add-mask::${{ github.event.inputs.awsAccessKeyId }}"
echo "::add-mask::${{ github.event.inputs.awsSecretAccessKey }}"
echo "::add-mask::${{ github.event.inputs.awsSessionToken }}"
export AWS_ACCESS_KEY_ID=${{ github.event.inputs.awsAccessKeyId }}
export AWS_SECRET_ACCESS_KEY=${{ github.event.inputs.awsSecretAccessKey }}
export AWS_SESSION_TOKEN=${{ github.event.inputs.awsSessionToken }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:

- name: Teardown to AWS
run: |
run: |
echo "::add-mask::${{ github.event.inputs.awsAccessKeyId }}"
echo "::add-mask::${{ github.event.inputs.awsSecretAccessKey }}"
echo "::add-mask::${{ github.event.inputs.awsSessionToken }}"
export AWS_ACCESS_KEY_ID=${{ github.event.inputs.awsAccessKeyId }}
export AWS_SECRET_ACCESS_KEY=${{ github.event.inputs.awsSecretAccessKey }}
export AWS_SESSION_TOKEN=${{ github.event.inputs.awsSessionToken }}
Expand Down

0 comments on commit 9682903

Please sign in to comment.