zowe profiles create endevor test --host XX.XX.XX.XX --port XXXX --ru false --user abcd --password abcd
** Message: 13:24:52.428: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod:No ?org.freedesktop.Secret.Collection? in the object in the path /org/freedesktop/secrets/collection/login
Command Error:
Unable to store the secure field "user" associated with the profile "test" of type "endevor".
Error Details:
No “org.freedesktop.Secret.Collection” interface on object in path /org/freedesktop/secrets/collection/login
zowe -V
6.37.0
-- pluginName: @zowe/secure-credential-store-for-zowe-cli
-- package: @zowe/secure-credential-store-for-zowe-cli
-- version: 4.1.5
-- registry: https://registry.npmjs.org/
node -v - v16.14.0
npm -v - 8.3.1
SOP: Red Hat Enterprise Linux release 8.3 (Ootpa)
Release : 3.0
Component : BRIGHTSIDE ZOWE CLI
No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login - this error is related to Gnome keyring on CentOS, unable to unlock Gnome-keyring at logon.
If login method is neither SSH nor password login over TTY then the PAM module to automatically unlock the Gnome keyring at logon won't work.
After configuring the PAM module to unlock the keyring at logon, a machine restart is necessary on CentOS. Alternatively, if using SSH and restarting the machine is inconvenient, restart sshd (the SSH daemon).
If automatically unlocking the keyring at logon still fails, run the following commands to manually unlock the keyring :
export $(dbus-launch)
gnome-keyring-daemon -r --unlock --components=secrets
The second command will prompt for password. Press Ctrl+D twice when user finished typing. Including the "-r" flag should restart any existing keyring daemon that may be in a bad state.