Skip to main content

KEYS - Straightforward CLI wrapper for Keeper Commander

Project description

PyPI - Version PyPI - Python Version

KEYS: Keeper, Exports Your Secrets

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.

Usage

# 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')"

Installation

uv tool install .

Note: requires Keeper Commander to be installed and configured.

Default field by record type

The --field argument defaults to password for Login and Secure Note records and to API Key for API records.

SSO login

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.

Donate

Donations via Liberapay or Bitcoin (1Ph3hFEoQaD4PK6MhL3kBNNh9FZFBfisEH) are always welcomed, thank you!

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keeper_keys-0.1.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keeper_keys-0.1.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file keeper_keys-0.1.2.tar.gz.

File metadata

  • Download URL: keeper_keys-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for keeper_keys-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ec86216c0392ed0084a579728e55a972eeff1eae073d363bdd1820b4618f010a
MD5 4ed520a3f9e9514342dc9753d3739f78
BLAKE2b-256 5381a4402fed271b6f67197d852a9221184f3fa5c93b1ecd3a64c23a57eee4f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for keeper_keys-0.1.2.tar.gz:

Publisher: workflow.yml on ilpianista/keeper-keys

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file keeper_keys-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: keeper_keys-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for keeper_keys-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 99911ecbbc6e2af318e7e7d6a72da47c0ace1aa7607ab22eb6b060670af4b25d
MD5 9e6110261bee805bf019459799d20ca1
BLAKE2b-256 9e075d154388e01ad7eb9c21306cb2688dbac1b9fab23a16a907e72fdf5fb9f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for keeper_keys-0.1.2-py3-none-any.whl:

Publisher: workflow.yml on ilpianista/keeper-keys

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page