Closed tomasbohunek closed 1 year ago
In the case of CI tools, we often recommend to use the mechanism for storing secrets provided by the CI tool of choice.
For instance, you could use Jenkins Secrets for storing credentials (which Jenkins should mask in console output) and provide those as command options (--user $USER_JENKINS_SECRET
), assign them to zowe environmental variables (ZOWE_OPT_USER), or provide them in cli command that updates the config files (zowe config set profiles.zosmf.properties.user $USER_JENKINS_SECRET
).
On our jenkins nodes (CentOS 7.6 - connected via SSH) we were not able to run zowe-cli with CredentialsManager support based on this guidelines: https://docs.zowe.org/stable/user-guide/cli-configure-scs-on-headless-linux-os/ We were able to run with disabled CredentialsManager via: