The official Hanzo KMS CLI for secret management. Inject secrets into applications and manage your Hanzo KMS infrastructure.
- Inject secrets into applications and development workflows
- Scan for secret leaks in your codebase and git history
- Export secrets to various formats (dotenv, JSON, YAML)
- Authenticate with Hanzo KMS Cloud or self-hosted instances
- Integrate with CI/CD pipelines and Docker containers
macOS
brew install hanzokms/tap/kmsNPM
npm install -g @hanzokms/cliDownload binaries from GitHub Releases.
# Login to your Hanzo KMS instance
kms login
# Initialize a project
kms init
# Inject secrets into a process
kms run -- your-command
# Export secrets
kms export --format=dotenvgit clone https://github.com/hanzokms/cli.git
cd cli
go build -o kms .
go test ./...See kms.hanzo.ai/docs for full documentation.
MIT License. Copyright (c) 2024 Hanzo AI Inc.