HashiCorp Boundary
$ boundary Official High RiskHashiCorp 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.
brew install hashicorp/tap/boundary boundary establishes local TCP/SSH proxy tunnels and supports -format=json directly; an MCP wrapper cannot cleanly proxy interactive socket sessions.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Consistent -format=json (BOUNDARY_FORMAT=json) and env:// credential passing, though boundary connect opens long-lived local proxy tunnels.
-format=jsonacross CRUD and list commandsenv://secret input avoids interactive password prompts
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
Static Go binary distributed via brew install hashicorp/tap/boundary and HashiCorp Releases for macOS, Linux, and Windows.
- Multi-platform official releases
Streamlines dynamic target discovery and brokered SSH/DB connections across clouds.
- Unified target discovery and session brokering
Maintained by HashiCorp with regular releases and enterprise support.
- Official hashicorp/boundary project
Clear command reference on developer.hashicorp.com covering flags and auth methods.
- Official docs at developer.hashicorp.com/boundary
Security, Auth & Guardrails
Stores auth tokens in OS keychain or file via BOUNDARY_TOKEN / ~/.boundary.
MPL-2.0 open-source CLI; HCP Boundary or enterprise deployments may incur licensing/infra costs.
# 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
boundary targets list -recursive -format=json
Recursively enumerates Boundary targets across scopes in JSON without opening connections.
boundary sessions list -recursive -format=json
Displays active or pending brokered sessions as structured JSON.
Controlled Writes & Previews
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=jsonandenv://password injection make scripted inventory reliable. - + Credential brokering keeps underlying SSH/DB secrets hidden from the client.
Caveats & Pitfalls
- !
boundary connectspawns a blocking local tunnel process that requires lifecycle management. - ! OIDC auth methods open a browser interactively.