Skip to content

Add default-mask to sensitive flags#674

Open
sneal wants to merge 1 commit into
pivotal-cf:mainfrom
sneal:obscure-sensitive-values
Open

Add default-mask to sensitive flags#674
sneal wants to merge 1 commit into
pivotal-cf:mainfrom
sneal:obscure-sensitive-values

Conversation

@sneal
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor Author

sneal commented Oct 29, 2024

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

@yharish991
Copy link
Copy Markdown
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 sneal force-pushed the obscure-sensitive-values branch from c43f7ed to 0845b7f Compare November 6, 2024 17:08
@sneal
Copy link
Copy Markdown
Contributor Author

sneal commented Nov 6, 2024

@yharish991 all good now, thanks!

Copy link
Copy Markdown
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
Copy Markdown
Contributor

@sneal is this good to be merged?

@sneal
Copy link
Copy Markdown
Contributor Author

sneal commented Dec 3, 2024

@sneal is this good to be merged?

Yes, thank you!

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