Skip to content

Local Env Vars Template

Ian Liu edited this page Oct 16, 2024 · 3 revisions

To prevent env vars being accidentally committed, we have removed it from our repository, please use the following as a template

server/backend/local-dev.env

POSTGRES_USER=fam_proxy_api
POSTGRES_PASSWORD=test
POSTGRES_HOST=localhost
POSTGRES_DB=fam
POSTGRES_PORT=5432
POSTGRES_PORT_TESTCONTAINER=5433
COGNITO_REGION=ca-central-1
COGNITO_USER_POOL_ID=ca-central-1_p8X8GdjKW
COGNITO_CLIENT_ID=6jfveou69mgford233or30hmta
COGNITO_USER_POOL_DOMAIN=dev-fam-user-pool-domain
ENABLE_BCSC_JWKS_ENDPOINT=False
BCSC_KEY_ID=thisisasecret
FC_API_TOKEN_TEST=thisisasecret
IDIM_PROXY_API_KEY=thisisasecret
GC_NOTIFY_EMAIL_API_KEY=thisisasecret
TEST_IDIR_USER_GUID=thisisasecret

server/admin_management/local-dev.env

POSTGRES_USER=fam_admin_management_api
POSTGRES_PASSWORD=test
POSTGRES_HOST=localhost
POSTGRES_DB=fam
POSTGRES_PORT=5432
POSTGRES_PORT_TESTCONTAINER=5433
COGNITO_REGION=ca-central-1
COGNITO_USER_POOL_ID=ca-central-1_p8X8GdjKW
COGNITO_CLIENT_ID=6jfveou69mgford233or30hmta
COGNITO_USER_POOL_DOMAIN=dev-fam-user-pool-domain
FC_API_TOKEN_TEST=thisisasecret
IDIM_PROXY_API_KEY=thisisasecret
GC_NOTIFY_EMAIL_API_KEY=thisisasecret

Windows

server/backend/local-dev-window.env.bat

SET POSTGRES_USER=fam_proxy_api
SET POSTGRES_PASSWORD=test
SET POSTGRES_HOST=localhost
SET POSTGRES_DB=fam
SET POSTGRES_PORT=5432
SET POSTGRES_PORT_TESTCONTAINER=5433
SET COGNITO_REGION=ca-central-1
SET COGNITO_USER_POOL_ID=ca-central-1_p8X8GdjKW
SET COGNITO_CLIENT_ID=6jfveou69mgford233or30hmta
SET COGNITO_USER_POOL_DOMAIN=dev-fam-user-pool-domain
SET ENABLE_BCSC_JWKS_ENDPOINT=False
SET BCSC_KEY_ID=thisisasecret
SET FC_API_TOKEN_TEST=thisisasecret
SET IDIM_PROXY_BASE_URL=https://nr-fam-idim-lookup-proxy-test-backend.apps.silver.devops.gov.bc.ca
SET IDIM_PROXY_API_KEY=thisisasecret
SET GC_NOTIFY_EMAIL_API_KEY=thisisasecret

server/admin_management/local-dev-window.env.bat

SET POSTGRES_USER=fam_admin_management_api
SET POSTGRES_PASSWORD=test
SET POSTGRES_HOST=localhost
SET POSTGRES_DB=fam
SET POSTGRES_PORT=5432
SET POSTGRES_PORT_TESTCONTAINER=5433
SET COGNITO_REGION=ca-central-1
SET COGNITO_USER_POOL_ID=ca-central-1_p8X8GdjKW
SET COGNITO_CLIENT_ID=6jfveou69mgford233or30hmta
SET COGNITO_USER_POOL_DOMAIN=dev-fam-user-pool-domain
Clone this wiki locally