I’m working on a node cli application and I’d like to be able to store some sensitive user information (API keys) in the system keyring. The npm package keytar does exactly what I want, but has been deprecated since 2022. That package is still getting 500k downloads per month so maybe it’s ok to use it, but I’d prefer something that’s actively maintained. For electron there’s safeStorage, but I don’t have an electron app so this is also not an option.
I can just store the secrets in plaintext in .local/share
, but would prefer something a little more secure. Please let me know if there are any good alternatives out there!
Wasn’t able to find any alternatives searching the npm registry.
Matt Pauly is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.