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.3.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.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: keeper_keys-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 bcee8c8cf0b17d8c0db3325b12d5c78c9d5e58b4a33daece55a0f7dec363e113
MD5 92dad7257ca172a7fda0516ffac91372
BLAKE2b-256 781a06f143a5fd5c76934e94022eb84beb94ac53d73dc6f83113c93619de98f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for keeper_keys-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: keeper_keys-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48e03e6aed23e01b343a076d2ddc0b44260d9c9b7a976ac0df21762ee12fa7e3
MD5 ae17ab636cc533171c25658a3d137968
BLAKE2b-256 01fa02173a56e73ef44fbf7ad60811d5a7f3594d091de05771a5ddd0f0afb219

See more details on using hashes here.

Provenance

The following attestation bundles were made for keeper_keys-0.1.3-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