Python keyring: Difference between revisions

From wikinotes
 
(No difference)

Latest revision as of 01:24, 4 June 2020

Library and commandline tool that abstracts linux/windows/macos keyrings to save/retrieve passwords.

Documentation

github https://github.com/jaraco/keyring
pypi https://pypi.org/project/keyring/

Install

sudo pacman -S python-keyring

Usage

# set password (interactive)
keyring set system username 

# set password (non-interactive)
echo "password" \
  | keyring set system username

# get password
keyring get system username