home / security
Category

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.

31 CLIs
21 official
22 agent-ready
Why CLIs

mkcert

58k

Generate and install locally trusted development TLS certificates for localhost, custom domains, and IPs.

Go

Vault CLI

HashiCorp
35k

HashiCorp CLI for reading and writing Vault secrets, managing auth, policies, tokens, and leases, and operating Vault clusters.

JSON Output
Go

Trivy

Aqua Security
33k

Security scanner for container images, repositories, filesystems, Kubernetes, and SBOMs, with vulnerability, misconfiguration, secret, and license checks.

JSON Output
Go

Certbot

EFF
33k

Official ACME client from EFF for obtaining, renewing, and automating TLS certificates from the terminal.

Python

masscan

25k

Internet-scale port scanner for sweeping large IP ranges, finding open ports, and collecting basic service banners.

JSON Output
C

Infisical CLI

Infisical
25k

Official Infisical CLI for injecting, exporting, scanning, and managing secrets from Infisical projects.

JSON Output
Go

gitleaks

25k

Secrets scanning CLI for git history, directories, files, and stdin input.

JSON Output
Go

age

22k

File encryption CLI for encrypting and decrypting files with public keys, SSH keys, or passphrases.

JSON Output
Go

sops

21k

Secrets file CLI for encrypting, decrypting, rotating, and editing YAML, JSON, dotenv, INI, and binary files with age, PGP, Vault, or cloud KMS keys.

JSON Output
Go

Semgrep

Semgrep
14k

Static analysis CLI for scanning code with Semgrep rules, custom patterns, CI checks, and optional autofixes.

JSON Output MCP Support
OCaml

nmap

Nmap Project
13k

Network scanner for host discovery, port scanning, service fingerprinting, OS detection, traceroute, and NSE script scans.

C++

grype

Anchore
12k

Vulnerability scanner for container images, filesystems, files, and SBOMs, with commands to query its local vulnerability database.

JSON Output
Go

git-crypt

9.5k

Git repository encryption CLI for transparently encrypting selected files and sharing access with collaborators.

C++

kubeseal

Bitnami
9k

Kubernetes CLI for sealing Secret manifests into encrypted SealedSecret resources for GitOps workflows.

JSON Output
Go

Checkov

Bridgecrew
8.5k

Security scanner CLI for Terraform, Kubernetes, Dockerfiles, CI configs, and other infrastructure-as-code files.

JSON Output
Python

syft

Anchore
8.5k

SBOM generation CLI for container images, filesystems, and archives, with SPDX and CycloneDX output.

JSON Output
Go

tfsec

Aqua Security
7k

Terraform security scanning CLI for finding infrastructure misconfigurations in code and modules before apply.

JSON Output
Go

gopass

6.7k

Encrypted password-store CLI for managing secrets, recipients, OTP data, and git-backed shared stores.

Go

cosign

Sigstore
5.7k

Official Sigstore CLI for signing, verifying, and attesting container images, blobs, and other software artifacts.

JSON Output
Go

Snyk CLI

Snyk
5.4k

Official Snyk CLI for testing dependencies, code, containers, and IaC for vulnerabilities, policy issues, and ongoing monitoring.

JSON Output MCP Support
TypeScript

Smallstep CLI

Smallstep
4.1k

PKI CLI for operating step-ca, issuing and inspecting X.509 or SSH certificates, and running related crypto and OAuth workflows.

JSON Output
Go

ssh-audit

4.1k

SSH security audit CLI for checking server or client algorithms, policies, and hardening posture.

JSON Output
Python

Boundary CLI

HashiCorp
4k

HashiCorp CLI for authenticating to Boundary, managing access resources, and opening proxied sessions to targets.

JSON Output
Go

git-secret

4k

Git secrets CLI for encrypting tracked files with GPG, managing who can decrypt them, and revealing them in local or CI workflows.

Shell

Bitwarden CLI

Bitwarden
1.7k

Official Bitwarden CLI for vault login, credential retrieval, item management, and Bitwarden Send from the terminal.

JSON Output
TypeScript

1Password CLI

1Password
647

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.

JSON Output
Go

SonarScanner CLI

SonarSource
413

Code analysis scanner CLI for SonarQube Server and SonarQube Cloud projects.

Java

Doppler CLI

Doppler
349

Secrets management CLI for Doppler projects, configs, service tokens, and secret-injected command runs.

JSON Output
Go

Auth0 CLI

Auth0
308

Official Auth0 CLI for managing tenant resources, actions, logs, and login or token test flows from the terminal.

JSON Output
Go

sshpass

250

Non-interactive SSH password helper for scripting legacy systems that cannot use key-based authentication.

C

Okta CLI

Okta
101

Official Okta CLI for developer org signup, login, OIDC app creation, sample app bootstrapping, and basic app management.

Java