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

Mask environment variable secrets #167

Merged
merged 4 commits into from
Jun 22, 2024
Merged

Mask environment variable secrets #167

merged 4 commits into from
Jun 22, 2024

Conversation

sverdlov93
Copy link
Contributor

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • I used npm run format for formatting the code before submitting the pull request.

Sorry, something went wrong.

@sverdlov93 sverdlov93 requested a review from yahavi June 17, 2024 08:29
@sverdlov93 sverdlov93 added the improvement Automatically generated release notes label Jun 17, 2024
Copy link
Member

@yahavi yahavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using credentials as regular Variables instead of Secrets is a very bad idea, and we should actively discourage such practices. However, to ensure that this Action is "foolproof", I do support the idea of masking the token and the password.

For consistency, let's also ensure that the "config token" is also added as a secret: https://github.com/jfrog/setup-jfrog-cli/blob/v4.1.2/src/utils.ts#L378.

@sverdlov93 sverdlov93 merged commit af6814e into master Jun 22, 2024
19 of 20 checks passed
@sverdlov93 sverdlov93 deleted the mask-secret branch June 22, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants