qmetrics.net

Harp

Contract-based secret management CLI and pipelines

Secrets ManagementDesktop/CLI app

Harp is a toolkit for operating secret management by contract. It turns secret data into reproducible bundles in immutable container files and runs auditable CLI pipelines over them.

Overview

Harp is built around contract-based secret management rather than ad hoc storage edits. Secrets get predictable identifiers from a naming convention, can carry metadata such as ownership and rotation hints, and are stored as key-value bundles inside immutable container files that act as a pivot format between commands.

Pipelines are expressed as atomic CLI operations on shared containers, similar in spirit to data pipelines but for secrets. Each transformation produces a new container copy, which limits cumulative side effects and supports reproducibility. Containers can be sealed and unsealed with at-rest encryption options.

The tool ships with a template engine for generating passwords, passphrases, keys, and rendered configuration, plus bundle operations to create, read, patch, and import or export to Vault. A SDK and plugin model extend inputs, intermediates, and outputs; Vault is the built-in backend but other stores can plug in.

Elastic uses Harp internally to generate bootstrap secrets for new region infrastructure. Compared with HashiCorp Vault, Vault operates as an encrypted K/V store with authorization, while Harp focuses on secret provisioning workflows Vault does not define for you.

Key features

  • Immutable secret container format
  • Deterministic secret pipelines via CLI
  • Secret naming convention (CSO)
  • Template engine for generated values
  • Bundle import and export to Vault
  • Seal and unseal with at-rest encryption
  • YAML-driven bundle descriptors
  • SDK and plugins for custom backends

Use cases

  • Reproducible secret provisioning across clouds
  • Migrating secrets between storage backends
  • Ephemeral bootstrap bundles for deployment
  • Offline secret rotation specifications
  • Generating strong passwords from templates

Tags

Similar software

Vault

Secrets management, encryption as a service, and access control

Vault stores and controls access to secrets such as API keys, passwords, and certificates through a unified interface with audit logging.

  • Encrypted secret key-value storage
  • Dynamic secrets with leases
  • Encryption as a service
GoDocker, CLIDetails →
★ 36.6k⟳ todaySource-available

Infisical

Open-source security infrastructure for secrets, certs, and access

Infisical is a security infrastructure platform where teams manage application secrets, certificates, privileged access, and AI agent credentials in one place.

  • Centralized secrets across environments
  • Secret sync to cloud and CI platforms
  • Dynamic and scheduled secret rotation
TypeScriptWeb, Linux, macOS, DockerDetails →
★ 31.1k⟳ todayMIT · open core
Secrets ManagementSelf-hostable
Open Source Alternative to:BeyondTrust

SOPS

Structured secrets editor with multi-KMS encryption

SOPS encrypts YAML, JSON, ENV, INI, and binary files while leaving keys and structure readable. It wraps values with AES-256-GCM using session keys controlled by PGP, age, or cloud KMS identities.

  • Encrypt values while keys stay plain
  • YAML, JSON, ENV, INI, binary formats
  • Multi-identity decryption policies
GoDetails →
★ 24k⟳ 3 days agoMPL-2.0
Secrets ManagementDesktop/CLI app

Dotenvx

Encrypted dotenv workflows for apps and CI

dotenvx encrypts secrets in .env files, lets you commit ciphertext safely, and injects decrypted values at runtime via CLI, similar to dotenv with secp256k1 encryption.

  • Encrypt and decrypt .env values
  • Commit ciphertext with application code
  • Runtime injection via dotenvx run
JavaScriptCLI, DockerDetails →
★ 5.9k⟳ todayBSD-3-Clause
Secrets ManagementDesktop/CLI app

Varlock

Schema-driven .env validation and secret-safe configuration

Varlock adds typed schemas to environment files so agents see structure without secret values. It validates config, scans for leaks, and loads secrets from external vault plugins.

  • Typed .env.schema single source of truth
  • AI-safe schema exposure without secrets
  • varlock scan leak detection with git hooks
TypeScriptCLI, DockerDetails →
★ 5.2k⟳ 17 days agoMIT
Secrets ManagementDesktop/CLI app

Berglas

Command-line and library secrets tool for Google Cloud

Berglas encrypts secrets with Cloud KMS, stores them in Cloud Storage or Secret Manager, and exposes CLI and runtime helpers for Google Cloud apps.

  • CLI create, grant, and access secrets
  • Cloud KMS plus Cloud Storage storage
  • Secret Manager interoperability
GomacOS, Docker, CLIDetails →
★ 1.3k⟳ 17 days agoApache-2.0
Secrets ManagementDesktop/CLI app