Step CLI is a command-line tool for building and automating public key infrastructure. It handles X.509, OAuth, JWT, SSH, and related crypto operations and works with the step-ca certificate authority.
Overview
Step CLI helps developers, operators, and security staff work with certificates, tokens, and identity standards from the terminal. It supports creating and managing X.509 TLS certificates, CSRs, CAs, and trust-store installation, and can validate or lint certificates on disk or on remote servers.
A separate crypto command group covers JWT signing and verification, JWS and JWE, JWK sets, TOTP for MFA, password KDF checks, and file hashes. The OAuth group adds OAuth 2.0 flows for CLI apps, including authorization code, OOB, JWT bearer, and refresh tokens, with OIDC identity token verification at the command line.
SSH features include generating user and host keys, short-lived SSH certificates, agent integration, inspection of SSH certs, and SSO-style SSH login. The tool also acts as a client for the step-ca online CA, and plugins named step-*-plugin extend it for KMS, HSM, and related key backends.
Compared to general-purpose crypto libraries, the product focuses on operational certificate lifecycle tasks with defaults aimed at safer routine use and built-in help on subcommands.
Key features
- X.509 certificate create and lint
- CSR signing and CA bootstrap
- JWT, JWS, and JWE toolkit
- OAuth and OIDC token flows
- SSH keys and short-lived certs
- Trust store install for dev CAs
- step-ca client integration
- Extensible step-*-plugin hooks
Use cases
- Automate internal TLS certificate issuance
- Verify OIDC tokens in shell scripts
- Operate a private PKI with step-ca
- Issue and renew SSH certificates
- Debug certificate deployment issues