Files
Anthropic-Cybersecurity-Skills/skills/implementing-zero-trust-with-hashicorp-boundary/references/api-reference.md
T
mukul975 27c6414ca5 Add folder anatomy (scripts/agent.py + references/api-reference.md) for 648 cybersecurity skills
Complete skill folder anatomy across all cybersecurity skills:
- scripts/agent.py: 80-150 line Python agents using real libraries (impacket,
  boto3, azure-mgmt-*, kubernetes, pefile, yara, scapy, shodan, stix2, etc.)
- references/api-reference.md: real API documentation with method signatures
- LICENSE: MIT license for all skill folders
2026-03-10 21:02:12 +01:00

1.6 KiB

API Reference: HashiCorp Boundary

Boundary CLI (JSON output)

Core Commands

boundary scopes list -scope-id=global -format=json
boundary targets list -scope-id=<id> -format=json
boundary host-catalogs list -scope-id=<id> -format=json
boundary credential-stores list -scope-id=<id> -format=json
boundary sessions list -scope-id=<id> -format=json
boundary auth-methods list -scope-id=global -format=json

Environment Variables

Variable Description
BOUNDARY_ADDR Controller address (e.g., http://127.0.0.1:9200)
BOUNDARY_TOKEN Authentication token

Target Fields

Field Description
name Target display name
type tcp or ssh
session_max_seconds Maximum session duration
session_connection_limit Max concurrent connections (-1 = unlimited)

Credential Store Types

Type Description
vault Vault-brokered dynamic credentials (recommended)
static Static credentials stored in Boundary

Auth Method Types

Type Zero Trust Suitability
oidc Recommended (SSO, MFA support)
ldap Acceptable with MFA
password Not recommended for zero trust

Session Recording

boundary targets update tcp -id=<id> -enable-session-recording=true \
  -storage-bucket-id=<bucket-id>

References