macOS
brew install berglaslocal Homebrew formula metadata
brew
Tool for managing secrets on Google Cloud. Version 2.0.14 via Homebrew; verified 2026-06-25.
install
brew install berglaslocal Homebrew formula metadata
nix profile install nixpkgs#berglasnixpkgs package indexes · pkgs/by-name/be/berglas/package.nix · source: api.github.com
overview
Tool for managing secrets on Google Cloud
history
Berglas is a GoogleCloudPlatform command-line tool and Go library for storing and retrieving secrets on Google Cloud. It predates some common Secret Manager workflows and bridges Cloud KMS, Cloud Storage, and Secret Manager access patterns.
The Berglas repository was created in April 2019, with a v0.1.3 release published in June 2019. Its README describes it as both a CLI for encrypting, decrypting, and storing data on Google Cloud and a library for injecting secrets into Google Cloud runtimes.
The project is explicit about its support status: it lives under GoogleCloudPlatform but is not an officially supported Google product.
Berglas adoption came from teams that needed secret handling around Cloud KMS and Cloud Storage, then later interoperability with Secret Manager. It fit CI/CD and serverless workflows where environment injection and CLI automation were convenient.
Homebrew packaging made it easy for macOS operators to bootstrap and inspect Google Cloud secret workflows locally while using Application Default Credentials from the Cloud SDK.
Common commands create secrets, grant access, read secret data, bootstrap buckets and KMS keys, and run child processes with secrets populated in the environment.
Authentication usually follows Google Cloud Application Default Credentials, which is why the package curation points at the gcloud ADC credentials file rather than a Berglas-specific credentials file.
Berglas is package-nerd significant as a small Go security CLI with cloud-side state. Installing the package gives a local executable, but most real behavior depends on enabled Google Cloud services, IAM, KMS keys, buckets, or Secret Manager resources.
It is also a snapshot of a transitional Google Cloud secrets era: the tool supports the older Cloud Storage plus KMS pattern while documenting interoperability with Secret Manager.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/.config/gcloud/application_default_credentials.json%APPDATA%\gcloud\application_default_credentials.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
berglas | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/GoogleCloudPlatform/berglas
install metadata
| Package key | brew:berglas |
|---|---|
| Version | 2.0.14 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/berglas |
| Homepage | https://github.com/GoogleCloudPlatform/berglas |
| Repository | https://github.com/GoogleCloudPlatform/berglas |
| Upstream docs | https://github.com/GoogleCloudPlatform/berglas#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/GoogleCloudPlatform/berglas/archive/refs/tags/v2.0.14.tar.gz |
| Last updated | 2026-06-25T08:16:09Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | berglas |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
berglas
nix profile install nixpkgs#berglassource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.