Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mask output docker password #372

Closed
wants to merge 1 commit into from

Conversation

codingspirit
Copy link

Signed-off-by: zhiqinli@amazon.com zhiqinli@amazon.com

Issue #, if available:
Docker password will be printed as plaintext in action logs if user reference it from outputs.

Description of changes:
Mask dockerPassword.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: zhiqinli@amazon.com <zhiqinli@amazon.com>
@codingspirit
Copy link
Author

Just noticed that dockerPassword was masked before but 7d073b6 reverted it. Is there any particular reason to remove the mask?

@arjraman
Copy link
Contributor

arjraman commented Nov 8, 2022

If you look at PR #327, I reverted the change because the mask prevents the password from being used in other jobs. The docker password does not get outputted to logs unless they are specifically printed by the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants