ZOWE CLI: Unable to securely save credentials.
search cancel

ZOWE CLI: Unable to securely save credentials.

book

Article ID: 401558

calendar_today

Updated On:

Products

Zowe

Issue/Introduction

Installed ZOWE CLI on Linux (without GUI interface).  Tried to create Team Configuration file and runs into the following issue:

zowe config init --global-config
Warning:
Unable to securely save credentials. Skipped prompting for credentials.

Environment

ZOWE 7.29.10

Cause

Zowe CLI needs access to the OS to securely save credentials.

Resolution

Follow the ZOWE document to Configuring Secure Credential Store on headless Linux operating systems

Then issue "zowe config init --global-config" to test that automatic unlock of the keyring works.

Additional Information

After Installing the PAM module for Gnome keyring, editing /etc/pam.d/login (for TTY login), and /etc/pam.d/sshd if it exists (for SSH login), and ~/.bashrc, don't forget to restart computer - as this is the necessary step.