stella auth - Command Guide

Audience: operators and automation owners who authenticate the Stella Ops CLI against Authority and manage the tokens that every other command relies on.

The stella auth command group handles Authority-backed authentication and token operations: acquiring and caching access tokens, inspecting the active session, minting and delegating service-account tokens, and exporting or verifying revocation bundles. Most other stella commands assume a valid cached token from auth login.

Commands

auth login

Acquire and cache an access token using the configured Authority credentials.

stella auth login
stella auth login --force
STELLAOPS_AUTHORITY_CLIENT_ID=stellaops-cli-automation \
STELLAOPS_AUTHORITY_CLIENT_SECRET=stellaops-local-cli-automation-secret \
stella auth login --json

Notes:

auth status / whoami / logout

stella auth status
stella auth whoami
stella auth logout

Behavior:

auth revoke export / verify

Export or verify Authority revocation bundles.

stella auth revoke export --output ./revocation-export
stella auth revoke verify --bundle ./revocation-bundle.json --signature ./revocation-bundle.json.jws --key ./authority.pub.pem

auth token mint

Mint a service account token (requires appropriate Authority permissions).

stella auth token mint --service-account concelier-jobs \
  --scope concelier.jobs.trigger --scope advisory:ingest --scope advisory:read \
  --tenant tenant-default \
  --reason "scheduled ingestion" \
  --raw

Flags:

auth token delegate

Delegate your current token to another principal.

stella auth token delegate --to user@example.org \
  --scope advisory:read \
  --tenant tenant-default \
  --reason "support session" \
  --raw

Flags:

Offline notes