Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 berglas

查看 berglas 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install berglas

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#berglas

nixpkgs package indexes · pkgs/by-name/be/berglas/package.nix · 来源: api.github.com

概览

软件包摘要

Tool for managing secrets on Google Cloud

命令和别名

  • berglas

历史

项目历史与用法

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.

时间线

  • 2019-04: The GoogleCloudPlatform/berglas repository was created.
  • 2019-06: Berglas v0.1.3 was published.
  • 2020s: Berglas documentation continued to emphasize Cloud KMS, Cloud Storage, Secret Manager interoperability, and ADC-based setup.

Related projects

  • Google Cloud KMS supplies encryption keys for the original storage model.
  • Google Cloud Storage stores encrypted secret blobs in the original model.
  • Google Secret Manager is the related managed service with Berglas interoperability.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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 files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/gcloud/application_default_credentials.json
Windows
%APPDATA%\gcloud\application_default_credentials.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
berglascli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本2.0.14
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本v2.0.14

https://github.com/GoogleCloudPlatform/berglas

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:berglas
版本2.0.14
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/berglas
主页https://github.com/GoogleCloudPlatform/berglas
仓库https://github.com/GoogleCloudPlatform/berglas
上游文档https://github.com/GoogleCloudPlatform/berglas#readme
许可证Apache-2.0
源码归档https://github.com/GoogleCloudPlatform/berglas/archive/refs/tags/v2.0.14.tar.gz
最后更新2026-06-25T08:16:09Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameberglas
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

berglas

nix profile install nixpkgs#berglas
  • normalized package name match
  • 匹配方式:Berglas
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/be/berglas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment