Skip to main content
Command Line Interface

QuantumAPI CLI

Encrypt, sign, and manage secrets from your terminal. Integrate quantum-safe cryptography into CI/CD pipelines, automation workflows, and any platform.

Quick Install

Choose your preferred installation method. Works on macOS, Windows, and Linux — no dependencies required.

curl (macOS / Linux)curl -sSL https://docs.quantumapi.eu/cli/install.sh | sh
Homebrew (macOS)brew install quantumapi-eu/tap/qapi
PowerShell (Windows)irm https://docs.quantumapi.eu/cli/install.ps1 | iex
npm (all platforms)npm install -g @quantumapi/cli

Need a different method? Full installation guide

See It in Action

Real commands, real output. No setup required — just install and go.

Health check

terminal
$qapi health
>✓ API is Healthy
>Endpoint: https://api.quantumapi.eu
>Latency: 42ms

Login

terminal
$qapi login
>✓ Logged in successfully
>User: alice@acme.com
>Tenant: Acme Corp
>Token expires in: 1h0m0s

Encrypt & Decrypt

terminal
# encrypt any text inline
$qapi encrypt "my secret data"
>UsBU+Q4k9x...== (ML-KEM-768)
# or a file
$qapi encrypt -k prod-key -i config.json -o config.enc
>✓ Encrypted → config.enc

Key management

terminal
$qapi keys list
>ID NAME ALGORITHM STATE
>c5e9663e-3dcf-... prod-key ML-KEM-768 Active ✓
>9a1b2c3d-... signing-key ML-DSA-65 Active
$qapi keys create backup-key --algorithm ML-KEM-1024
>✓ Key created: backup-key

Secrets vault

terminal
$qapi secrets list
>ID NAME VERSION UPDATED
>a1b2c3d4-... DATABASE_URL v1 2026-02-19
>9f8e7d6c-... STRIPE_KEY v2 2026-02-18
$export DB=$(qapi secrets get a1b2c3d4 --value)
>✓ Secret injected into $DB

CI/CD integration

.github/workflows/deploy.yml
- name: Inject secrets
env:
QAPI_API_KEY: ${{ secrets.QAPI_API_KEY }}
run: |
$export DB=$(qapi secrets get $DB_ID --value)
$export KEY=$(qapi secrets get $KEY_ID --value)
>✓ Secrets injected, starting deploy...

Why Use the CLI?

Encrypt & Decrypt

Encrypt files and data with ML-KEM post-quantum encryption.

Key Management

Create, rotate, and manage encryption keys from the command line.

Secret Vault

Store, retrieve, and inject secrets into your applications.

CI/CD Ready

Integrate with GitHub Actions, GitLab CI, and other pipelines.

Quantum-Safe

All operations use NIST-standardized post-quantum algorithms.

Fast & Lightweight

Single binary, no dependencies, instant startup.

Ready to get started?

Full documentation, examples, and reference for every command.

QuantumAPI CLI | QuantumAPI