From 008dbc0157a3ca5d486f75867ac8672348450d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20H=C3=A9bert?= Date: Fri, 29 Nov 2019 11:58:41 +0100 Subject: [PATCH] rollback to environment variables --- gheb/docusign-bundle/5.0/config/packages/docusign.yaml | 8 ++++---- gheb/docusign-bundle/5.0/manifest.json | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gheb/docusign-bundle/5.0/config/packages/docusign.yaml b/gheb/docusign-bundle/5.0/config/packages/docusign.yaml index a9d75ef6..f7467fe2 100644 --- a/gheb/docusign-bundle/5.0/config/packages/docusign.yaml +++ b/gheb/docusign-bundle/5.0/config/packages/docusign.yaml @@ -4,12 +4,12 @@ docusign: # Authentication credentials to log into docusign. auth_jwt: - private_key: "%kernel.project_dir%/%CONFIG_DIR%/jwt/docusign.pem" - integration_key: "51b176de-3298-460b-8201-f73e323eee14" # Replace by yours - user_guid: "51b176de-3298-460b-8201-f73e323eee14" # Replace by yours + private_key: "%env(DOCUSIGN_PRIVATE_KEY_PATH)%" + integration_key: "%env(DOCUSIGN_INTEGRATION_KEY)%" + user_guid: "%env(int:DOCUSIGN_USER_GUID)%" # Your DocuSign account id - account_id: 1234567 + account_id: "%env(DOCUSIGN_ACCOUNT_ID)%" default_signer_name: "Grégoire Hébert" # Name of the person that will be notified and will sign the document if none is sent to the url. default_signer_email: "gregoire@les-tilleuls.coop" # Mail of the person that will be notified and will sign the document if none is sent to the url. diff --git a/gheb/docusign-bundle/5.0/manifest.json b/gheb/docusign-bundle/5.0/manifest.json index fc90c6a2..da2f3c53 100644 --- a/gheb/docusign-bundle/5.0/manifest.json +++ b/gheb/docusign-bundle/5.0/manifest.json @@ -5,6 +5,12 @@ "copy-from-recipe": { "config/": "%CONFIG_DIR%/" }, + "env": { + "DOCUSIGN_PRIVATE_KEY_PATH": "%kernel.project_dir%/%CONFIG_DIR%/jwt/docusign.pem", + "DOCUSIGN_INTEGRATION_KEY": "UUID-DOCUSIGN-INTEGRATION-KEY", + "DOCUSIGN_USER_GUID": "UUID-DOCUSIGN-USER-GUID", + "DOCUSIGN_ACCOUNT_ID": "1234567" + }, "gitignore": [ "/%CONFIG_DIR%/jwt/*.pem" ]