qmetrics.net

Berglas

Command-line and library secrets tool for Google Cloud

Secrets ManagementDesktop/CLI app
Berglas screenshot

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

Overview

Berglas is a command-line tool and Go library for storing and retrieving secrets on Google Cloud. Secrets are encrypted with Cloud KMS and stored in Cloud Storage, with an interoperable path for Secret Manager as well.

The CLI automates encrypting, decrypting, granting access, spawning child processes with resolved environment values, and bootstrapping buckets plus KMS keys. Library usage can replace berglas:// environment references with decrypted values at process start.

Integrations cover App Engine Flex and Cloud Run via container entrypoints, Cloud Build with volume-mounted secrets, Kubernetes via a mutating webhook, and arbitrary processes wrapped with berglas exec. Go apps on App Engine Standard and Cloud Functions can import an auto package for reference resolution.

Cloud Storage storage uses per-secret envelope encryption with AES-256-GCM data keys and KMS-wrapped key encryption keys. Berglas is not an officially supported Google product but wraps both legacy Cloud Storage secrets and Secret Manager workflows.

Key features

  • CLI create, grant, and access secrets
  • Cloud KMS plus Cloud Storage storage
  • Secret Manager interoperability
  • berglas:// environment references
  • berglas exec for subprocess env injection
  • Bootstrap bucket and KMS setup
  • App Engine and Cloud Run hooks
  • Go library auto-parsing option

Use cases

  • Storing API keys on Google Cloud
  • Injecting secrets into Cloud Run jobs
  • Kubernetes pod secret mutation
  • Local dev with application default credentials
  • Managing IAM access to secret blobs

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

Phase

Open-source secrets manager for teams and AI agents

Phase helps teams and AI agents access, manage, and deploy application secrets across development, staging, and production with centralized control.

  • Multi-environment secret management
  • Dynamic secrets for AI agents
  • Role-based access control
TypeScriptCLIDetails →
★ 958⟳ 3 days agoMIT · open core