CLI
The Skytale CLI handles account creation, API key management, and JWT token exchange. It replaces the curl commands you’d otherwise run against the API.
Install
Build from source:
cd cli && cargo build --releasecp target/release/skytale ~/.cargo/bin/ # or anywhere on your PATHVerify:
skytale --helpCommands
skytale signup
Create an account and save the API key automatically.
skytale signup you@example.comskytale signup you@example.com --name "Your Name"The API key is saved to ~/.skytale/api-key (mode 0600). All subsequent commands use it automatically.
skytale account
Show the current account info.
skytale accountID: 550e8400-e29b-41d4-a716-446655440000Email: you@example.comName: Your NamePlan: freeskytale keys list
List all active API keys.
skytale keys listID PREFIX NAME CREATED550e8400-e29b-41d4-a716-446655440000 sk_live_a1b2c3d4 default 2026-02-26 14:30skytale keys create
Create a new API key.
skytale keys createskytale keys create --name ci-keyskytale keys revoke
Revoke an API key by ID.
skytale keys revoke 550e8400-e29b-41d4-a716-446655440000skytale token
Exchange the API key for a short-lived JWT. Prints the raw token to stdout.
skytale tokeneyJhbGciOiJIUzI1NiIs...Useful for piping into other tools:
export SKYTALE_JWT=$(skytale token)Configuration
| Setting | Flag | Env var | Default |
|---|---|---|---|
| API URL | --api-url | SKYTALE_API_URL | https://api.skytale.sh |
| API key | — | SKYTALE_API_KEY | ~/.skytale/api-key |
Precedence: flag > env var > file/default.
Self-hosted
Point the CLI at your own API server:
skytale signup you@example.com --api-url http://localhost:3100Or set it globally:
export SKYTALE_API_URL="http://localhost:3100"skytale keys list