You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically the node-keytar package has been used by Zowe CLI and Explorer to store secure credentials.
After that package was deprecated at end of 2022, Zowe CLI squad created the Secrets SDK as a replacement.
Currently we use the Python keyring package which has a number of quirks.
On Windows, it doesn't always use the same encoding as node-keytar:
On Linux, it requires a custom backend to read from the correct keyring. Currently our custom backend only implements get_password, so on some Linux systems set_password and delete_password may fail.
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.
Historically the
node-keytar
package has been used by Zowe CLI and Explorer to store secure credentials.After that package was deprecated at end of 2022, Zowe CLI squad created the Secrets SDK as a replacement.
Currently we use the Python
keyring
package which has a number of quirks.On Windows, it doesn't always use the same encoding as
node-keytar
:zowe-client-python-sdk/src/core/zowe/core_for_zowe_sdk/credential_manager.py
Lines 100 to 105 in 58178c0
On Linux, it requires a custom backend to read from the correct keyring. Currently our custom backend only implements
get_password
, so on some Linux systemsset_password
anddelete_password
may fail.zowe-client-python-sdk/src/core/zowe/core_for_zowe_sdk/zosmf_profile.py
Line 132 in 558edfb
In the future, maybe we can investigate publishing the Rust keyring backend used by the Secrets SDK as a crate:
https://github.com/zowe/zowe-cli/tree/master/packages/secrets/src/keyring
Then we could create Python bindings for the Rust keyring, and publish a Secrets SDK for Python like the one for Node.js 😋
The text was updated successfully, but these errors were encountered: