Skip to content
Agentmart
Submit a tool

bao-vault

OpenBao/Vault credential seeding and management scripts

Skill by jankneumann

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jankneumann-bao-vault

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

OpenBao/Vault credential seeding and management scripts

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bao-vault

What's inside

Skill name
bao-vault
Description
OpenBao/Vault credential seeding and management scripts
License
MIT
Instructions
44 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (8)

  • SKILL.md
  • bao_seed.py · scripts/
  • langfuse_env.sh · scripts/
  • concurrent_client.py · scripts/tests/integration/
  • run_live_matrix.sh · scripts/tests/integration/
  • test_live_openbao.py · scripts/tests/integration/
  • test_bao_seed.py · scripts/tests/
  • test_langfuse_env.py · scripts/tests/

SKILL.md (first lines)

# Bao Vault Infrastructure Skill

Non-user-invocable infrastructure skill for OpenBao/Vault credential seeding and management.

## Scripts

### scripts/bao_seed.py

Seeds OpenBao with agent API keys and secrets from agents.yaml configuration. Reads any string-valued key in `.secrets.yaml` and writes it under the configured KV mount, so adding new credential names (e.g. `LANGFUSE_PUBLIC_KEY`) requires no code change — just add the key to `.secrets.yaml` and re-run.

**Usage**:
```bash
python3 "<skill-base-dir>/scripts/bao_seed.py" [options]
```

**Environment variables**:
- `BAO_ADDR` — OpenBao server address
- `BAO_TOKEN` — Root or privileged token for seeding
- `BAO_SECRETS_FILE` — secrets YAML path (defaults to `.secrets.yaml` in the current project)
- `AGENTS_YAML` — agent configuration path (defaults to `agents.yaml` in the current project)

Both inputs can also be supplied with `--secrets-path` and `--agents-path`.
The skill does not assume that the consumer contains an `agent-coordinator/`
checkout.

**Exit codes**: 0 = seeded successfully, 1 = error

### scripts/langfuse_env.sh

Resolves `LANGFUSE_PUBLIC_KEY`, `LANGFUSE_SECRET_KEY`, and `LANGFUSE_HOST` from OpenBao (preferring values already in the environment), computes `LANGFUSE_BASIC_AUTH = base64(public:secret)`, and emits four `export` lines on stdout. Designed to be sourced via `eval`:

```bash
eval "$("<skill-base-dir>/scripts/langfuse_env.sh")"
```

Falls back silently when `BAO_ADDR` is unset or the keys are already populated, so it is safe to put in shell init or scripts.

**Authentication**: uses `BAO_TOKEN` if set, otherwise logs in through the isolated coordinator-internal AppRole using `BAO_INTERNAL_ROLE_ID` and `BAO_INTERNAL_SECRET_ID`. The legacy `BAO_ROLE_ID` and `BAO_SECRET_ID` inputs are ignored by this helper. Stage the retained Langfuse values at `secret/coordinator` and grant the internal role access to that path before enabling Bao mode.

**Consumed by**:
- `<skill-base-dir>/../langfuse/scripts/install-mcp.sh` — computes the literal Basic-auth token written into Codex / Gemini user-global config files.
- `<skill-base-dir>/../langfuse/scripts/run_stop_hook.sh` — populates the env for the Claude Code Stop-hook tracer.

From jankneumann/agentic-coding-tools, MIT.

More from jankneumann/agentic-coding-tools

Signals

Stars
4
Forks
1
Open issues
129
Last commit (this folder)
Sep 26, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jankneumann

Cite this page

bao-vault skill. Agent Mart. https://agentmart.dev/skills/jankneumann-bao-vault (last updated 2026-10-24)