Best CLIs for Secrets, Auth, and Security
These CLIs help developers and agents manage secrets, credentials, tokens, access control, and related security workflows. The strongest tools here expose machine-readable reads and carefully scoped mutation commands.
mkcert
Generate and install locally trusted development TLS certificates for localhost, custom domains, and IPs.
Vault CLI
HashiCorp CLI for reading and writing Vault secrets, managing auth, policies, tokens, and leases, and operating Vault clusters.
Trivy
Security scanner for container images, repositories, filesystems, Kubernetes, and SBOMs, with vulnerability, misconfiguration, secret, and license checks.
Certbot
Official ACME client from EFF for obtaining, renewing, and automating TLS certificates from the terminal.
masscan
Internet-scale port scanner for sweeping large IP ranges, finding open ports, and collecting basic service banners.
Infisical CLI
Official Infisical CLI for injecting, exporting, scanning, and managing secrets from Infisical projects.
gitleaks
Secrets scanning CLI for git history, directories, files, and stdin input.
age
File encryption CLI for encrypting and decrypting files with public keys, SSH keys, or passphrases.
sops
Secrets file CLI for encrypting, decrypting, rotating, and editing YAML, JSON, dotenv, INI, and binary files with age, PGP, Vault, or cloud KMS keys.
Semgrep
Static analysis CLI for scanning code with Semgrep rules, custom patterns, CI checks, and optional autofixes.
nmap
Network scanner for host discovery, port scanning, service fingerprinting, OS detection, traceroute, and NSE script scans.
grype
Vulnerability scanner for container images, filesystems, files, and SBOMs, with commands to query its local vulnerability database.
git-crypt
Git repository encryption CLI for transparently encrypting selected files and sharing access with collaborators.
kubeseal
Kubernetes CLI for sealing Secret manifests into encrypted SealedSecret resources for GitOps workflows.
Checkov
Security scanner CLI for Terraform, Kubernetes, Dockerfiles, CI configs, and other infrastructure-as-code files.
syft
SBOM generation CLI for container images, filesystems, and archives, with SPDX and CycloneDX output.
tfsec
Terraform security scanning CLI for finding infrastructure misconfigurations in code and modules before apply.
gopass
Encrypted password-store CLI for managing secrets, recipients, OTP data, and git-backed shared stores.
cosign
Official Sigstore CLI for signing, verifying, and attesting container images, blobs, and other software artifacts.
Snyk CLI
Official Snyk CLI for testing dependencies, code, containers, and IaC for vulnerabilities, policy issues, and ongoing monitoring.
Smallstep CLI
PKI CLI for operating step-ca, issuing and inspecting X.509 or SSH certificates, and running related crypto and OAuth workflows.
ssh-audit
SSH security audit CLI for checking server or client algorithms, policies, and hardening posture.
Boundary CLI
HashiCorp CLI for authenticating to Boundary, managing access resources, and opening proxied sessions to targets.
git-secret
Git secrets CLI for encrypting tracked files with GPG, managing who can decrypt them, and revealing them in local or CI workflows.
Bitwarden CLI
Official Bitwarden CLI for vault login, credential retrieval, item management, and Bitwarden Send from the terminal.
1Password CLI
Official CLI for accessing 1Password items, vaults, and secret references from the terminal. It also injects secrets into files, environment variables, and shell plugin auth flows.
SonarScanner CLI
Code analysis scanner CLI for SonarQube Server and SonarQube Cloud projects.
Doppler CLI
Secrets management CLI for Doppler projects, configs, service tokens, and secret-injected command runs.
Auth0 CLI
Official Auth0 CLI for managing tenant resources, actions, logs, and login or token test flows from the terminal.
sshpass
Non-interactive SSH password helper for scripting legacy systems that cannot use key-based authentication.
Okta CLI
Official Okta CLI for developer org signup, login, OIDC app creation, sample app bootstrapping, and basic app management.