Skip to main content

KeyBin

keybin is a command-line interface tool built with python for secure management of API and secret keys using the Panega Vault service.

Initial Setup

Before using keybin, you need to perform the initial setup to configure your Panega Vault API token.

Get Panega Vault API Token:

  • Go to Panega Vault.
  • Obtain your API token from the dashboard.

MongoDb Token:

  • Get you MongoDb URL
  • Add it in the .env file with the name of URL

Installation

Install my-project with npm

pip install keybin

Features

  • 🔐 Secure Secret Management: Store, retrieve, update, and delete secrets securely.
  • 🛠️ Flexible Metadata: Add and update metadata in key-value pairs.
  • 🏷️ Tag Management: Categorize secrets with tags for easy retrieval and management

General Guide

Initinializing your API key

Use init command to intialize your API key

Guide to Update and Delete

  • Get the id of your secret which you want to update or delete from 'getid' command
  • Now use to id with commands

Usage

Getting Help

keybin --help [COMMAND]

Repale [COMMAND] with the command you need help with

Adding a Secret

Add a secret to the vault

keybin store <SECRET_VALUE> [-n <SECRET_NAME>] [-k <KEY_TYPE>] [-f <FOLDER>] [-m <METADATA>] [-t <TAGS>]
  • Arguments
    • value: The secret value to store.
    • -n, --name: A unique name to identify the secret.
    • -k, --key_type: The type of the key (default is 'secret').
    • -f, --folder: The folder where the secret will be stored.
    • -m, --metadata: Additional metadata for the secret in the format key:value (e.g., [name:abc,product:xcompany]).
    • -t, --tags: Tags to categorize the secret, separated by commas (e.g., [tags1,tags2]).

Listing the Secrets

keybin list [-f <FOLDER>] [-t <TAGS>] [-n <NAME_CONTAINS>] [-c <CREATED_AT>] [-s <SIZE>] [-o <ORDER>] [-ob <ORDER_BY>] [-l <LAST>] [-i <INCLUDE_SECRETS>]
  • Arguments
    • -f, --folder: The folder containing the secrets.
    • -t, --tags: Tags to filter the secrets by, separated by commas (e.g., [tags1,tags2]).
    • -n, --name_contains: Filter by secrets whose names contain this value.
    • -c, --created_at: Filter by secrets created after this date (ISO format).
    • -s, --size: Maximum number of items to return (default is 50).
    • -o, --order: Order of results (asc or desc).
    • -ob, --order_by: Property to order the results by (e.g., created_at, name).
    • -l, --last: ID of the last item from a previous query, for pagination.
    • -i, --include_secrets: Whether to include the secret values in the results (true or false).

Getting Id of a secret

keybin getid --name <SECRET_NAME>
  • Arguments
    • --name: The name of the secret you want to retrieve

Updating Secret

keybin update <ID> [-n <NAME>] [-f <FOLDER>] [-m <METADATA>] [-t <TAGS>]
  • Arguments
    • id: The ID of the secret to update.
    • -n, --name: New name for the secret.
    • -f, --folder: New folder to move the secret to.
    • -m, --metadata: New metadata for the secret in the format key:value (e.g., [name:abc,product:xcompany]).
    • -t, --tags: New tags to assign to the secret, separated by commas (e.g., [tags1,tags2]).

Deleting Secret

keybin delete <ID>
  • Arguments
    • id: The ID of the secret to delete.

Metadata

Release files for keybin 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keybin 1.0.0
File Size Uploaded
keybin-1.0.0.tar.gz 9.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keybin 1.0.0
File Interpreter ABI Platform
keybin-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / keybin-1.0.0.tar.gz

Download URL keybin-1.0.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0258c82f37eb386361587dd22b8201175ff19d6c30a10984f409f94a07b8114e
BLAKE2b-256 checksum
How to use checksums
7777c69db26cff2a4c29901f107aba01cdd2a94bf6ec8c14e8b5c7e4a15abf36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / keybin-1.0.0-py3-none-any.whl

Download URL keybin-1.0.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8759047dc9f0a437612c058497934ac4030dc7ed46c0695eb0967720890e9d3a
BLAKE2b-256 checksum
How to use checksums
0b9eb0b1468446775ee33c17e0145a7c8c889d6e8aa60bc152d28b6bdd488088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page