Nest Engineering Docs
Auth

Operations

Deployments, SLOs, and monitoring for Auth

Deployments

  • Build from services/auth/Dockerfile.
  • The container runs granian against services.auth.main:app.
  • Default listen port is 8080 and honors the PORT environment variable.

Startup behavior

  • Loads AUTH_API_KEY and optional AUTH_SENTRY_DSN from Secret Manager.
  • Initializes Sentry if the DSN is present.

Monitoring and alerts

  • Sentry is enabled when AUTH_SENTRY_DSN is available.
  • Logs are written to stdout with INFO-level defaults.

SLOs and SLIs

  • TBD. Define latency and error targets for partner auth flows.

Scaling and performance

  • Stateless service with in-memory JWKS cache.
  • Spikes in verification traffic may increase JWKS fetches if cache misses.

Last updated on