Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

HashiCorp Boundary

$ boundary Official High Risk
HashiCorp · Security & Secrets · MPL-2.0 · macos / linux / windows

HashiCorp Boundary (boundary) brokers identity-based access to dynamic hosts and services without exposing private network credentials. It supports -format=json (or BOUNDARY_FORMAT=json) across resource commands and environment-backed authentication for scripted inventory checks.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
brew install hashicorp/tap/boundary
CLI vs MCP Decision CLI Preferred vs MCP

boundary establishes local TCP/SSH proxy tunnels and supports -format=json directly; an MCP wrapper cannot cleanly proxy interactive socket sessions.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Consistent -format=json (BOUNDARY_FORMAT=json) and env:// credential passing, though boundary connect opens long-lived local proxy tunnels.

  • -format=json across CRUD and list commands
  • env:// secret input avoids interactive password prompts
Trust & Safety 18 / 25

Scope-based RBAC and credential injection avoid exposing target keys, but delete and connect actions carry remote impact.

  • Brokered credentials with full administrative CRUD capabilities
Setup & Portability 13 / 15

Static Go binary distributed via brew install hashicorp/tap/boundary and HashiCorp Releases for macOS, Linux, and Windows.

  • Multi-platform official releases
Utility & Efficiency 12 / 15

Streamlines dynamic target discovery and brokered SSH/DB connections across clouds.

  • Unified target discovery and session brokering
Maintenance & Lineage 8 / 10

Maintained by HashiCorp with regular releases and enterprise support.

  • Official hashicorp/boundary project
Docs & Verifiability 8 / 10

Clear command reference on developer.hashicorp.com covering flags and auth methods.

  • Official docs at developer.hashicorp.com/boundary

Security, Auth & Guardrails

Auth Modes
Env API Key OAuth Browser OS Keychain Config File
Credential Storage

Stores auth tokens in OS keychain or file via BOUNDARY_TOKEN / ~/.boundary.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

MPL-2.0 open-source CLI; HCP Boundary or enterprise deployments may incur licensing/infra costs.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# HashiCorp Boundary Agent Rules
- Export `BOUNDARY_FORMAT=json` and restrict discovery to `list`/`read` commands.
- Require explicit human approval before `boundary connect` or any `delete`/`cancel` action.

Agent-Ready Command Recipes

Safe Read-Only Queries

List accessible targets in JSON
boundary targets list -recursive -format=json

Recursively enumerates Boundary targets across scopes in JSON without opening connections.

List active Boundary sessions
boundary sessions list -recursive -format=json

Displays active or pending brokered sessions as structured JSON.

Controlled Writes & Previews

Authenticate non-interactively with password env var
boundary authenticate password -auth-method-id=$BOUNDARY_AUTH_METHOD_ID -login-name=$BOUNDARY_USER -password=env://BOUNDARY_PASS -format=json

Exchanges credentials from environment variables for a scoped Boundary session token.

Strengths for Agents

  • + Consistent -format=json and env:// password injection make scripted inventory reliable.
  • + Credential brokering keeps underlying SSH/DB secrets hidden from the client.

Caveats & Pitfalls

  • ! boundary connect spawns a blocking local tunnel process that requires lifecycle management.
  • ! OIDC auth methods open a browser interactively.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI