add datagouv secrets

This commit is contained in:
Christophe Robillard 2022-07-14 11:19:37 +02:00
parent d294feabe3
commit f7226ac625
2 changed files with 16 additions and 1 deletions

View file

@ -153,3 +153,9 @@ CLAMAV_ENABLED="disabled"
# Siret number used for API Entreprise, by default we use SIRET from dinum
API_ENTREPRISE_DEFAULT_SIRET="put_your_own_siret"
# Publish to datagouv
DATAGOUV_API_KEY="thisisasecret"
DATAGOUV_API_URL="https://www.data.gouv.fr/api/1"
DATAGOUV_DEMARCHES_PUBLIQUES_DATASET="datasetid"
DATAGOUV_DEMARCHES_PUBLIQUES_RESOURCE="resourceid"

View file

@ -78,7 +78,11 @@ defaults: &defaults
api_geo_url: <%= ENV['API_GEO_URL'] %>
api_adresse_url: <%= ENV['API_ADRESSE_URL'] %>
api_education_url: <%= ENV['API_EDUCATION_URL'] %>
datagouv:
api_key: <%= ENV['DATAGOUV_API_KEY'] %>
api_url: <%= ENV['DATAGOUV_API_URL'] %>
ds_demarches_publiques_dataset: <%= ENV['DATAGOUV_DEMARCHES_PUBLIQUES_DATASET'] %>
ds_demarches_publiques_resource: <%= ENV['DATAGOUV_DEMARCHES_PUBLIQUES_RESOURCE'] %>
development:
@ -109,6 +113,11 @@ test:
userpwd: 'fake:fake'
autocomplete:
api_geo_url: /test/api_geo
datagouv:
api_key: "clesecrete"
api_url: "https://www.data.gouv.fr/api/1"
descriptif_demarches_dataset: "ethopundataset"
descriptif_demarches_resource: "etbimuneressource"
# Do not keep production secrets in the repository,
# instead read values from the environment.