Skip to main content

Axion Quickstart

The Zero-Disk Secret Plane. Stop syncing .env files. Stream encrypted secrets directly to your app’s memory.

Installation

npm install -g @dotsetlabs/axion
Or use directly with npx:
npx @dotsetlabs/axion run -- npm start

Initialize a Project

axn init
This creates:
  • .dotset/axion/key — Your encryption key (keep this safe!)
  • .dotset/axion/manifest.enc — Encrypted secrets store
Back up your project key securely. If you lose it, your secrets cannot be recovered.

Add Secrets

Manually:
axn set DATABASE_URL "postgres://localhost/mydb"
axn set API_KEY "sk-12345" --scope production
Import from .env files:
axn sync

Run Your App

axn run -- npm start
axn run --scope production -- node dist/index.js
Axion decrypts secrets in memory and injects them into process.env.

Enable Cloud Sync (Optional)

axn login           # Authenticate with GitHub/Google
axn init --cloud    # Create cloud project and link
axn push            # Sync manifest to cloud

Next Steps