imperative
imperative copied to clipboard
zowe config list with password
For debugging and troubleshooting, it would be nice to have a command to extract and display the current set user name and password that is securely stored. Perhaps, zowe config list --show-secure
?
@MikeBauerCA - would this be ok?
No, I do not want to provide such a command. For debugging, the Zowe CLI logging level can be set to TRACE.
How about in relation to https://github.com/zowe/zowe-cli/issues/870 ?
Perhaps I want to get other secured values for troubleshooting, e.g. extract a token to use / test on postman. Will this also be disallowed?
Knowing the username can be useful for example to construct the JCL header. Knowing the token can be useful to call Zowe-conformant APIs that do not have CLI plugins. It does not decrease the security, the user logged on to the workstation is able to get to the user ID and password. The CLI command makes it possible to use the value in scripts.
For troubleshooting, you could generate a token via zowe auth login apiml --show-token
and then provide both the username and token directly on the command line.
I don't fully agree that it does not decrease the security because it makes it easier to access the value. I'll leave the issue open to see if we get a significant number of upvotes from the community.
This enhancement has had no activity for 12 months. The issue also has less than 5 up-votes by the community. No action on this enhancement is targeted for the next 2 calendar quarters. Therefore, this enhancement is being closed. If you feel that this enhancement should continue to be available for community up-votes, you may reopen this issue.