# 使用 Homebrew 安装 vaulted

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

## 安装

```sh
sudo av install brew:vaulted
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vaulted
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:vaulted
- **软件包管理器:** Homebrew
- **版本:** 3.0.0
- **来源摘要:** Allows the secure storage and execution of environments
- **主页:** <https://github.com/miquella/vaulted>
- **仓库:** <https://github.com/miquella/vaulted>
- **最后更新:** 2026-07-26T00:30:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vaulted (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.0.0
## 项目历史与用法

`vaulted` is a small Go CLI for creating named vaults of secrets and spawning commands or shells with those secrets loaded into an isolated environment.

### 项目历史

The public project history is sparse, but the official README defines the core idea clearly: users create vaults of related secrets, then spawn sessions from them. Vaults may hold environment variables, AWS credentials, and SSH keys, and spawned environments get temporary AWS credentials and a new SSH agent.

### 采用历史

The tool belongs to the family of local developer-secret wrappers that reduce the need to keep credentials permanently exported in a shell. Its adoption appears niche and centered on users who want one command to switch AWS, SSH, and arbitrary environment-variable contexts.

### 使用方式

Typical usage starts with `vaulted add my-vault`, editing a vault interactively, then running `vaulted -n my-vault -- aws s3 ls` or `vaulted shell my-vault`. The README also documents an `env` subcommand intended for machine-readable integration with shells and utilities.

Vault files follow the XDG Base Directory Specification, with user-written vault data stored under `$XDG_DATA_HOME/vaulted/`, typically `~/.local/share/vaulted/`, and session caches under `$XDG_CACHE_HOME/vaulted/`.

### 为什么软件包爱好者会关心

For package users, `vaulted` is notable less for a large ecosystem and more for being a compact Unix-style credential context switcher. It is adjacent to tools such as `aws-vault`, but broader in that it also handles arbitrary environment variables and SSH keys.

### 时间线

- 2019 or earlier: Repository history and Go module packaging indicate an established Go CLI project.
- Current README: Documents Homebrew installation, Go 1.12+ manual installation, XDG storage, AWS credentials, SSH-agent isolation, and spawned command workflows.

### Related projects

- AWS CLI is a common consumer of spawned temporary AWS credentials.
- SSH agent tooling is part of the spawned-environment model.

### 来源

- Official GitHub README: https://github.com/miquella/vaulted


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: $XDG_DATA_HOME/vaulted/, ~/.local/share/vaulted/

## Combined YAML source

View the package source record on GitHub. [combined/vaulted.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vaulted.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
