Environment variable
export MAGS_API_TOKEN="your-token-here"
Add it to your shell profile if you want it to persist.
Tokens let you authenticate the CLI, SDK, and API calls. Create them in the dashboard and store them securely.
export MAGS_API_TOKEN="your-token"
Tokens are shown once when created.
CLI usage
export MAGS_API_TOKEN="your-token-here"
Add it to your shell profile if you want it to persist.
mags login
mags whoami
The CLI stores credentials in ~/.mags/config.json.
Token list
Sign in to view and create tokens. Sign in with Google.
Use the token manager to create or revoke keys.