envpkt fleet
Scan a directory tree for envpkt.toml files and aggregate credential health across all agents.
envpkt fleet [options]Options
Section titled “Options”| Option | Description | Default |
|---|---|---|
-d, --dir <path> | Root directory to scan | . (current directory) |
--depth <n> | Max directory depth | 3 |
--format <format> | Output format: table, json | table |
--status <status> | Filter agents by health status | — |
Examples
Section titled “Examples”# Scan current directoryenvpkt fleet
# Scan specific directoryenvpkt fleet -d /opt/agents
# Increase scan depthenvpkt fleet --depth 5
# JSON outputenvpkt fleet --format json
# Only show critical agentsenvpkt fleet --status criticalOutput
Section titled “Output”The fleet report shows:
- Per-agent: path, agent name, health status, number of secrets, nearest expiration
- Aggregate: total agents, total secrets, count by status (healthy, degraded, critical)
See the Fleet Management guide for operational patterns.