2015-08-10 11:05:06 +02:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
|
|
|
# Your secret key is used for verifying the integrity of signed cookies.
|
|
|
|
# If you change this key, all old signed cookies will become invalid!
|
|
|
|
|
|
|
|
# Make sure the secret is at least 30 characters and all random,
|
|
|
|
# no regular words or you'll be exposed to dictionary attacks.
|
|
|
|
# You can use `rake secret` to generate a secure secret key.
|
|
|
|
|
|
|
|
# Make sure the secrets in this file are kept private
|
|
|
|
# if you're sharing your code publicly.
|
2018-02-09 16:47:39 +01:00
|
|
|
defaults: &defaults
|
2018-03-12 15:11:22 +01:00
|
|
|
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
2021-06-10 16:52:51 +02:00
|
|
|
encryption_service_salt: <%= ENV["ENCRYPTION_SERVICE_SALT"] %>
|
2020-11-05 11:17:09 +01:00
|
|
|
otp_secret_key: <%= ENV["OTP_SECRET_KEY"] %>
|
2018-03-12 17:05:03 +01:00
|
|
|
basic_auth:
|
|
|
|
username: <%= ENV['BASIC_AUTH_USERNAME'] %>
|
|
|
|
password: <%= ENV['BASIC_AUTH_PASSWORD'] %>
|
2020-01-08 11:42:31 +01:00
|
|
|
france_connect_particulier: &france_connect_particulier
|
2018-02-09 16:47:39 +01:00
|
|
|
identifier: <%= ENV['FC_PARTICULIER_ID'] %>
|
|
|
|
secret: <%= ENV['FC_PARTICULIER_SECRET'] %>
|
2018-08-29 11:01:13 +02:00
|
|
|
redirect_uri: https://<%= ENV['APP_HOST'] %>/france_connect/particulier/callback
|
2018-08-27 16:47:13 +02:00
|
|
|
authorization_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/authorize
|
|
|
|
token_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/token
|
|
|
|
userinfo_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/userinfo
|
|
|
|
logout_endpoint: <%= ENV['FC_PARTICULIER_BASE_URL'] %>/api/v1/logout
|
2022-01-18 12:47:01 +01:00
|
|
|
agent_connect:
|
2021-11-19 12:01:27 +01:00
|
|
|
identifier: <%= ENV['AGENT_CONNECT_ID'] %>
|
|
|
|
secret: <%= ENV['AGENT_CONNECT_SECRET'] %>
|
2021-11-24 12:47:01 +01:00
|
|
|
redirect_uri: <%= ENV['AGENT_CONNECT_REDIRECT'] %>
|
2021-11-19 12:01:27 +01:00
|
|
|
authorization_endpoint: <%= ENV['AGENT_CONNECT_BASE_URL'] %>/api/v2/authorize
|
|
|
|
token_endpoint: <%= ENV['AGENT_CONNECT_BASE_URL'] %>/api/v2/token
|
|
|
|
userinfo_endpoint: <%= ENV['AGENT_CONNECT_BASE_URL'] %>/api/v2/userinfo
|
|
|
|
logout_endpoint: <%= ENV['AGENT_CONNECT_BASE_URL'] %>/api/v2/session/end
|
2018-03-13 18:16:41 +01:00
|
|
|
mailjet:
|
|
|
|
api_key: <%= ENV['MAILJET_API_KEY'] %>
|
|
|
|
secret_key: <%= ENV['MAILJET_SECRET_KEY'] %>
|
2022-04-11 17:22:32 +02:00
|
|
|
dolist:
|
|
|
|
username: <%= ENV['DOLIST_USERNAME'] %>
|
|
|
|
password: <%= ENV['DOLIST_PASSWORD'] %>
|
|
|
|
account_id: <%= ENV['DOLIST_ACCOUNT_ID'] %>
|
2022-04-26 11:44:42 +02:00
|
|
|
api_key: <%= ENV['DOLIST_API_KEY'] %>
|
2018-03-16 13:07:20 +01:00
|
|
|
api_entreprise:
|
|
|
|
key: <%= ENV['API_ENTREPRISE_KEY'] %>
|
2018-08-22 17:57:23 +02:00
|
|
|
pipedrive:
|
|
|
|
key: <%= ENV['PIPEDRIVE_KEY'] %>
|
2018-08-13 15:28:54 +02:00
|
|
|
mailtrap:
|
|
|
|
username: <%= ENV['MAILTRAP_USERNAME'] %>
|
|
|
|
password: <%= ENV['MAILTRAP_PASSWORD'] %>
|
2018-08-29 11:41:33 +02:00
|
|
|
helpscout:
|
|
|
|
mailbox_id: <%= ENV['HELPSCOUT_MAILBOX_ID'] %>
|
|
|
|
client_id: <%= ENV['HELPSCOUT_CLIENT_ID'] %>
|
|
|
|
client_secret: <%= ENV['HELPSCOUT_CLIENT_SECRET'] %>
|
2018-08-29 21:26:22 +02:00
|
|
|
webhook_secret: <%= ENV['HELPSCOUT_WEBHOOK_SECRET'] %>
|
2019-03-05 10:34:51 +01:00
|
|
|
sendinblue:
|
2022-05-02 17:30:37 +02:00
|
|
|
enabled: <%= ENV.key?('SENDINBLUE_BALANCING_VALUE') %>
|
2019-11-05 09:32:35 +01:00
|
|
|
username: <%= ENV['SENDINBLUE_USER_NAME'] %>
|
2019-03-05 10:34:51 +01:00
|
|
|
client_key: <%= ENV['SENDINBLUE_CLIENT_KEY'] %>
|
2019-11-05 09:38:08 +01:00
|
|
|
smtp_key: <%= ENV['SENDINBLUE_SMTP_KEY'] %>
|
2019-10-01 17:28:06 +02:00
|
|
|
api_v3_key: <%= ENV['SENDINBLUE_API_V3_KEY'] %>
|
2022-11-03 11:31:18 +01:00
|
|
|
mattermost:
|
2023-01-11 17:31:31 +01:00
|
|
|
send_in_blue_outage_webhook_url: <%= ENV['SEND_IN_BLUE_OUTAGE_WEBHOOK_URL'] %>
|
2022-11-03 11:31:18 +01:00
|
|
|
support_webhook_url: <%= ENV['SUPPORT_WEBHOOK_URL'] %>
|
2019-03-26 16:02:08 +01:00
|
|
|
matomo:
|
2022-01-26 13:57:49 +01:00
|
|
|
cookie_domain: "<%= ENV['MATOMO_COOKIE_DOMAIN'] %>"
|
|
|
|
domain: "<%= ENV['MATOMO_DOMAIN'] %>"
|
2019-03-26 16:02:08 +01:00
|
|
|
enabled: <%= ENV['MATOMO_ENABLED'] == 'enabled' %>
|
2022-01-18 12:47:01 +01:00
|
|
|
host: <%= ENV['MATOMO_HOST'] %>
|
2019-03-26 16:02:08 +01:00
|
|
|
client_key: <%= ENV['MATOMO_ID'] %>
|
|
|
|
sentry:
|
|
|
|
enabled: <%= ENV['SENTRY_ENABLED'] == 'enabled' %>
|
2021-05-12 15:00:13 +02:00
|
|
|
js_client_key: <%= ENV['SENTRY_DSN_JS'] %>
|
|
|
|
rails_client_key: <%= ENV['SENTRY_DSN_RAILS'] %>
|
2019-04-03 12:13:34 +02:00
|
|
|
environment: <%= ENV['SENTRY_CURRENT_ENV'] %>
|
2019-05-15 14:15:48 +02:00
|
|
|
crisp:
|
|
|
|
enabled: <%= ENV['CRISP_ENABLED'] == 'enabled' %>
|
|
|
|
client_key: <%= ENV['CRISP_CLIENT_KEY'] %>
|
2019-06-06 10:47:51 +02:00
|
|
|
universign:
|
|
|
|
userpwd: <%= ENV['UNIVERSIGN_USERPWD'] %>
|
2022-12-06 11:50:06 +01:00
|
|
|
certigna:
|
|
|
|
userpwd: <%= ENV['CERTIGNA_USERPWD'] %>
|
2020-01-14 18:46:07 +01:00
|
|
|
autocomplete:
|
|
|
|
api_geo_url: <%= ENV['API_GEO_URL'] %>
|
|
|
|
api_adresse_url: <%= ENV['API_ADRESSE_URL'] %>
|
2021-01-13 18:58:59 +01:00
|
|
|
api_education_url: <%= ENV['API_EDUCATION_URL'] %>
|
2022-07-14 11:19:37 +02:00
|
|
|
datagouv:
|
|
|
|
api_key: <%= ENV['DATAGOUV_API_KEY'] %>
|
|
|
|
api_url: <%= ENV['DATAGOUV_API_URL'] %>
|
2022-07-21 16:36:58 +02:00
|
|
|
descriptif_demarches_dataset: <%= ENV['DATAGOUV_DESCRIPTIF_DEMARCHES_DATASET'] %>
|
|
|
|
descriptif_demarches_resource: <%= ENV['DATAGOUV_DESCRIPTIF_DEMARCHES_RESOURCE'] %>
|
2022-06-24 21:18:17 +02:00
|
|
|
statistics_dataset: <%= ENV['DATAGOUV_STATISTICS_DATASET'] %>
|
2019-05-15 14:15:48 +02:00
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
development:
|
2018-02-09 16:47:39 +01:00
|
|
|
<<: *defaults
|
2020-01-08 11:42:31 +01:00
|
|
|
france_connect_particulier:
|
|
|
|
<<: *france_connect_particulier
|
|
|
|
redirect_uri: http://<%= ENV['APP_HOST'] %>/france_connect/particulier/callback
|
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
test:
|
2018-02-09 16:47:39 +01:00
|
|
|
<<: *defaults
|
2022-02-08 11:31:07 +01:00
|
|
|
secret_key_base: aa52abc3f3a629d04a61e9899a24c12f52b24c679cbf45f8ec0cdcc64ab9526d673adca84212882dff3911ac98e0c32ec4729ca7b3429ba18ef4dfd1bd18bc7a # ggignore
|
|
|
|
encryption_service_salt: QUDyMoXyw2YXU8pHnpts3w9MyMpsMQ6BgP62obgCf7PQv # ggignore
|
|
|
|
otp_secret_key: 78ddda3679dc0ba2c99f50bcff04f49d862358dbeb7ead50368fdd6de14392be884ee10a204a0375b4b382e1a842fafe40d7858b7ab4796ec3a67c518d31112b # ggignore
|
2018-03-16 13:07:20 +01:00
|
|
|
api_entreprise:
|
2022-02-08 11:31:07 +01:00
|
|
|
key: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6Ik9oIHllYWgiLCJpYXQiOjE1MTYyMzkwMjJ9.f06sBo3q2Yxnw_TYPFUEs0CozBmcV-XniH_DeKNWzKE" # ggignore
|
2018-08-22 17:57:23 +02:00
|
|
|
pipedrive:
|
|
|
|
key: pipedrive_test_key
|
2018-02-09 16:47:39 +01:00
|
|
|
france_connect_particulier:
|
|
|
|
identifier: france_connect_test_identifier
|
|
|
|
secret: france_connect_test_secret
|
|
|
|
redirect_uri: https://bidon.com/endpoint
|
|
|
|
authorization_endpoint: https://bidon.com/endpoint
|
|
|
|
token_endpoint: https://bidon.com/endpoint
|
|
|
|
userinfo_endpoint: https://bidon.com/endpoint
|
|
|
|
logout_endpoint: https://bidon.com/endpoint
|
2019-06-06 10:47:51 +02:00
|
|
|
universign:
|
|
|
|
userpwd: 'fake:fake'
|
2020-01-14 18:46:07 +01:00
|
|
|
autocomplete:
|
|
|
|
api_geo_url: /test/api_geo
|
2022-07-14 11:19:37 +02:00
|
|
|
datagouv:
|
|
|
|
api_key: "clesecrete"
|
|
|
|
api_url: "https://www.data.gouv.fr/api/1"
|
|
|
|
descriptif_demarches_dataset: "ethopundataset"
|
|
|
|
descriptif_demarches_resource: "etbimuneressource"
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
# Do not keep production secrets in the repository,
|
|
|
|
# instead read values from the environment.
|
2018-09-03 16:16:07 +02:00
|
|
|
production:
|
2018-02-09 16:47:39 +01:00
|
|
|
<<: *defaults
|