zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
116 stars 86 forks source link

Display secure values in `zowe config list` when the property `ZOWE_SHOW_SECURE_ARGS` is set #2259

Open Joe-Winchester opened 2 months ago

Joe-Winchester commented 2 months ago

Is your feature or enhancement request related to a problem or limitation? Please describe

There are times when it's necessary to view the secure properties (for example to check whether there is a stale password). This can be done in sorts using zowe ...-show-inputs-only to create a dry run command with ZOWE_SHOW_SECURE_ARGS which echos the value for that single command.

Describe your enhancement idea

Enhance ZOWE_SHOW_SECURE_ARGS to cover the zowe config list command. This would allow a user to do a full display of all of the zowe configuration properties AND to see the secure properties. This would help to show any property values stored securely to be able to view their contents and make actions such as updating expired passwords, refactoring profiles that are sharing the same TSO ID to be under a single nested profile, and more ...

Provide any additional context

This was brought up as a suggestion on the System Z Enthusiasts Discord Community Zowe channel on September 6th by PJ Farley. https://discord.com/channels/880322471608344597/1229969123040301148/1281671442571857993

github-actions[bot] commented 2 months ago

Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 5 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.

pjfarleyiii commented 2 months ago

I put a thumbs-up emoji on this enhancement request, and would upvote it as well if someone can tell me where and how to do that.

zFernand0 commented 2 months ago

This sounds like a great enhancement for V3 🥳

As a workaround for V2 users, you could set the env variable temporarily, use the show-inputs-only, and specify each profile. For example: