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

Add default-mask to sensitive flags #674

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sneal
Copy link
Member

@sneal sneal commented Oct 29, 2024

This keeps sensitive values specified in the OM_ env vars from showing up in the help.

  • OM_PASSWORD
  • OM_DECRYPTION_PASSPHRASE
  • OM_CLIENT_SECRET

Previously:

-p, --password=              admin password for the Ops Manager VM (not required for unauthenticated commands) (default: eA-43HzFsetlf7aFZEX) [$OM_PASSWORD]

With this change:

-p, --password=              admin password for the Ops Manager VM (not required for unauthenticated commands) [$OM_PASSWORD]

@sneal
Copy link
Member Author

sneal commented Oct 29, 2024

The dependency test that failed has nothing to do with the changes in this PR.

@yharish991
Copy link
Contributor

The dependency test that failed has nothing to do with the changes in this PR.

@sneal please rebase your pr with main, i fixed the failing test

This keeps sensitive values specified in the OM_ env vars from showing up in the help
@sneal
Copy link
Member Author

sneal commented Nov 6, 2024

@yharish991 all good now, thanks!

Copy link
Contributor

@yharish991 yharish991 left a comment

Choose a reason for hiding this comment

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

LGTM!! Thank you..

@yharish991
Copy link
Contributor

@sneal is this good to be merged?

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