Skip to main content

Type-safe secrets management and code generation for GCloud Secret Manager.

Project description

Vaultscribe

Vaultscribe is a tool for managing secrets. It's intended for solo devs and small teams. It uses Google Cloud Secret Manager to store secrets, and can sync secrets to multiple targets (gcloud run, cloudflare pages, github actions, etc). It also generates code so you can access the secrets in your apps.

GCloud Secret Manager offers 6 secrets for free. Vaultscribe bundles up all your secrets, and stores them in a single 'secret slot' - meaning you can practically store as many * secrets as you like.

Installation

uv add --dev vaultscribe

or

pip install vaultscribe

Quickstart

Prerequisites:

  • Google Cloud SDK CLI installed, with Secret Manager set up (see below).

Quick Usage

# Scaffold a new project. This will create a vaultscribe.toml file.
vs init     
# Start a time-limited authenticated session - best practice for not leaving an active gcloud session running
vs shell  
# Fetch secrets from GCloud Secret Manager for 'prod' environment, store in '.secrets.prod' file. Unset secrets are left blank.
vs pull prod  
# Push secrets from '.secrets.prod' to GCloud Secret Manager for 'prod' environment. Also generates code and syncs secrets to deploy targets.
vs push prod  
# Fetch secrets from GCloud Secret Manager and display
vs show prod  

Vaultscribe Concepts

More details here.

Vaultscribe Commands

More details here.

GCloud Secrets Manager first time setup

# Enable Secret Manager for your project
gcloud services enable secretmanager.googleapis.com --project=YOUR_PROJECT_ID

GCloud Secret Manager Quotas

Each secret 'slot' in GCloud Secret Manager has a 64KiB size limit. See here. So while, to paraphrase, "64KiB ought to be enough for anybody", you may hit this limit if you have a very large number of secrets, or if you store really big secrets. If you hit the limit, you probably need a more 'enterprise-y' secrets manager.

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

vaultscribe-0.4.0.tar.gz (112.3 kB view details)

Uploaded Source

Built Distribution

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

vaultscribe-0.4.0-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file vaultscribe-0.4.0.tar.gz.

File metadata

  • Download URL: vaultscribe-0.4.0.tar.gz
  • Upload date:
  • Size: 112.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vaultscribe-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7b2f1d5b2e5eea04e4abfc01aadcbbb16edcf1f73289a121f103efcca8874d33
MD5 aae2815764865a685aa24e0410514185
BLAKE2b-256 df954eca08d6b2a1ce1a2c791e1be34745c03aa3ac64ca6bd3d115d72b2f9ca4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vaultscribe-0.4.0.tar.gz:

Publisher: release-please.yml on lawther/vaultscribe

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

File details

Details for the file vaultscribe-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: vaultscribe-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vaultscribe-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eca4c973dbbc236d3b0e333129ff4d18a02a80ef5c8f4ab97d47fa6939fd1915
MD5 7a2c3863ff4737470c56ec164c86b6b9
BLAKE2b-256 d2cfe1334e3619bed01ac99ef4e62884e7d435c48be3d852f5770d96ddd4f16e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vaultscribe-0.4.0-py3-none-any.whl:

Publisher: release-please.yml on lawther/vaultscribe

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