stella auth - Command Guide

Audience: operators and automation owners who authenticate the Stella Ops CLI against Authority.

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. Service clients request their own scoped tokens using configured authentication; a prompted login does not configure their credentials.

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 \
stella auth login

Notes:

Named service clients used by gate evaluation, exception and release commands do not reuse the prompted auth login cache and do not re-prompt. Configure their authentication before running them:

The reason is cache isolation: StellaOpsBearerTokenHandler keys service tokens by client name, scope, authentication mode, tenant and credential context. auth login uses the separate AuthorityTokenUtilities.BuildCacheKey namespace. The token client implements password and client-credentials requests, and has no refresh-token exchange that connects these caches. A successful prompted login therefore supports session inspection without enabling these service commands on its own. See authentication architecture.

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