Partner Credentials
Configuration
Runtime configuration and environment variables for Partner Credentials
Required environment
export SPANNER_INSTANCE_ID="..."
export SPANNER_DATABASE_ID="..."Recommended for local dev
export GCP_PROJECT_ID="..."Optional environment
export DEBUG="true"
export SENTRY_ENVIRONMENT="development"Secrets
PartnerCreds reads secrets from Secret Manager:
PARTNERCREDS_SENTRY_DSN(required; service fails without it)- Partner credential secrets (see Data model for naming patterns)
Defaults
DEBUG=falseSENTRY_ENVIRONMENT=productionALLOWED_ORIGINS=["*"]API_V1_STR=/api/v1
Notes
GCP_PROJECT_IDis resolved from metadata when running on GCP.- ADC is required to access Spanner and Secret Manager.
Last updated on