mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
Added layer of security, we encrypt the API key and related secret. It requires setting up some encryption keys that can be generated wiht `bin/rails db:encryption:init`
25 lines
727 B
Plaintext
25 lines
727 B
Plaintext
# ENV vars for the test environment
|
|
# Override locally with `.env.test.local`
|
|
|
|
# Locale for translation.
|
|
LOCALE="en_TEST"
|
|
|
|
OFN_REDIS_JOBS_URL="redis://localhost:6379/2"
|
|
|
|
SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
STRIPE_INSTANCE_SECRET_KEY="bogus_key"
|
|
STRIPE_CUSTOMER="bogus_customer"
|
|
STRIPE_ACCOUNT="bogus_account"
|
|
STRIPE_CLIENT_ID="bogus_client_id"
|
|
STRIPE_PUBLIC_TEST_API_KEY="bogus_stripe_publishable_key"
|
|
|
|
SITE_URL="test.host"
|
|
|
|
OPENID_APP_ID="test-provider"
|
|
OPENID_APP_SECRET="12345"
|
|
OPENID_REFRESH_TOKEN="dummy-refresh-token"
|
|
|
|
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY="test_primary_key"
|
|
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY="test_deterministic_key"
|
|
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT="test_derivation_salt"
|