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"] %>
|
2018-08-22 17:08:18 +02:00
|
|
|
signing_key: <%= ENV["SIGNING_KEY"] %>
|
2018-03-12 17:05:03 +01:00
|
|
|
basic_auth:
|
|
|
|
username: <%= ENV['BASIC_AUTH_USERNAME'] %>
|
|
|
|
password: <%= ENV['BASIC_AUTH_PASSWORD'] %>
|
2018-02-09 16:47:39 +01:00
|
|
|
france_connect_particulier:
|
|
|
|
identifier: <%= ENV['FC_PARTICULIER_ID'] %>
|
|
|
|
secret: <%= ENV['FC_PARTICULIER_SECRET'] %>
|
|
|
|
redirect_uri: <%= ENV['FC_PARTICULIER_REDIRECT_URI'] %>
|
|
|
|
authorization_endpoint: <%= ENV['FC_PARTICULIER_HOST'] %>/api/v1/authorize
|
|
|
|
token_endpoint: <%= ENV['FC_PARTICULIER_HOST'] %>/api/v1/token
|
|
|
|
userinfo_endpoint: <%= ENV['FC_PARTICULIER_HOST'] %>/api/v1/userinfo
|
|
|
|
logout_endpoint: <%= ENV['FC_PARTICULIER_HOST'] %>/api/v1/logout
|
2018-02-09 10:34:50 +01:00
|
|
|
github:
|
|
|
|
client_id: <%= ENV['GITHUB_CLIENT_ID'] %>
|
|
|
|
client_secret: <%= ENV['GITHUB_CLIENT_SECRET'] %>
|
2018-03-13 18:16:41 +01:00
|
|
|
mailjet:
|
|
|
|
api_key: <%= ENV['MAILJET_API_KEY'] %>
|
|
|
|
secret_key: <%= ENV['MAILJET_SECRET_KEY'] %>
|
2018-03-16 13:07:20 +01:00
|
|
|
api_entreprise:
|
|
|
|
key: <%= ENV['API_ENTREPRISE_KEY'] %>
|
|
|
|
base_url: <%= ENV['API_ENTREPRISE_BASE_URL'] %>
|
2018-08-22 17:57:23 +02:00
|
|
|
pipedrive:
|
|
|
|
key: <%= ENV['PIPEDRIVE_KEY'] %>
|
2018-08-22 17:36:15 +02:00
|
|
|
fog:
|
|
|
|
openstack_tenant: <%= ENV['FOG_OPENSTACK_TENANT'] %>
|
|
|
|
openstack_api_key: <%= ENV['FOG_OPENSTACK_API_KEY'] %>
|
|
|
|
openstack_username: <%= ENV['FOG_OPENSTACK_USERNAME'] %>
|
|
|
|
openstack_auth_url: <%= ENV['FOG_OPENSTACK_AUTH_URL'] %>
|
|
|
|
openstack_region: <%= ENV['FOG_OPENSTACK_REGION'] %>
|
2018-08-24 14:01:46 +02:00
|
|
|
base_url: <%= ENV['FOG_BASE_URL'] %>
|
2018-08-22 17:36:15 +02:00
|
|
|
directory: <%= ENV['FOG_DIRECTORY'] %>
|
2018-08-13 15:28:54 +02:00
|
|
|
mailtrap:
|
|
|
|
username: <%= ENV['MAILTRAP_USERNAME'] %>
|
|
|
|
password: <%= ENV['MAILTRAP_PASSWORD'] %>
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
development:
|
2018-02-09 16:47:39 +01:00
|
|
|
<<: *defaults
|
2015-08-10 11:05:06 +02:00
|
|
|
secret_key_base: 05a2d479d8e412198dabd08ef0eee9d6e180f5cbb48661a35fd1cae287f0a93d40b5f1da08f06780d698bbd458a0ea97f730f83ee780de5d4e31f649a0130cf0
|
2018-08-22 17:08:18 +02:00
|
|
|
signing_key: aef3153a9829fa4ba10acb02927ac855df6b92795b1ad265d654443c4b14a017
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
test:
|
2018-02-09 16:47:39 +01:00
|
|
|
<<: *defaults
|
2015-08-10 11:05:06 +02:00
|
|
|
secret_key_base: aa52abc3f3a629d04a61e9899a24c12f52b24c679cbf45f8ec0cdcc64ab9526d673adca84212882dff3911ac98e0c32ec4729ca7b3429ba18ef4dfd1bd18bc7a
|
2018-08-22 17:08:18 +02:00
|
|
|
signing_key: aef3153a9829fa4ba10acb02927ac855df6b92795b1ad265d654443c4b14a017
|
2018-03-16 13:07:20 +01:00
|
|
|
api_entreprise:
|
|
|
|
key: api_entreprise_test_key
|
|
|
|
base_url: https://entreprise.api.gouv.fr/v2
|
2018-08-22 17:36:15 +02:00
|
|
|
fog:
|
|
|
|
base_url: https://storage.apientreprise.fr
|
|
|
|
directory: tps_dev
|
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
|
2015-08-10 11:05:06 +02:00
|
|
|
|
|
|
|
# Do not keep production secrets in the repository,
|
|
|
|
# instead read values from the environment.
|
2018-08-23 17:45:52 +02:00
|
|
|
production: &production
|
2018-02-09 16:47:39 +01:00
|
|
|
<<: *defaults
|
2018-08-23 17:45:52 +02:00
|
|
|
|
|
|
|
# Alias for production
|
|
|
|
staging:
|
|
|
|
<<: *production
|