Unified CLI
The@dotsetlabs/cli package provides a unified dotset command that combines the power of Axion and Gluon.
Installation
dotset run
Therun command is the flagship feature of the unified CLI. It allows you to run your application with encrypted secrets from Axion and runtime security monitoring from Gluon.
How it Works
- Secret Injection: Axion fetches your encrypted secrets, decrypts them in memory, and injects them into the process environment.
- Runtime Monitoring: Gluon hooks into stdout/stderr and network calls to detect secret leaks and monitor activity.
- Unified Execution: Your command is spawned as a child process with full protection and telemetry.
Options
| Option | Description |
|---|---|
--scope <env> | Environment scope for secrets (development, staging, production) |
--mode <mode> | Secret protection mode: detect, redact, block |
--redact-text <text> | Custom text used for redaction (default: [REDACTED]) |
--no-monitor | Disable runtime monitoring (secrets only) |
Examples
Basic DevelopmentSecondary Commands
The unified CLI also acts as a shortcut to individual product CLIs:Why use the Unified CLI?
- Simplicity: One tool to manage your entire security and DX stack.
- Better Together: Seamless integration between secret management and leak prevention.
- CI/CD Ready: Use a single
dotset runcommand in your pipelines to ensure security and compliance.