DISCLAIMER: This project is a private open source project and doesn't have any connection with Keeper Security.
A straightforward CLI wrapper for Keeper Commander that simplifies extracting secrets to setup environment variables.
keeper find-password does the same thing, except it doesn't handle SSO automatically and needs the --field parameter to work with API records.
# Set environment variable from a Keeper record
export OPENAI_API_KEY="$(keys 'OpenAI')"
# Specify a custom field
export SECRET="$(keys 'My secert record' --field 'password2')"
# Insert a new login secret
keys --insert OpenAI
# Insert a new login secret in a folder (however, the folder MUST exists)
keys --insert "Tools/OpenAI"uv tool install .Note: requires Keeper Commander to be installed and configured.
The --field argument defaults to password for Login and Secure Note records and to API Key for API records.
If SSO login is required, KEYS will automatically open the SSO login URL in your browser and wait till you paste the obtained login token in the terminal.
Donations via Liberapay or Bitcoin (1Ph3hFEoQaD4PK6MhL3kBNNh9FZFBfisEH) are always welcomed, thank you!
MIT
