Connector Improvement: Add environment variables to the configuration of connector SDK connection
AnsweredRight now, a connector SDK connection requires you to pass API credentials for making API calls through the configuration.json file. In the example provided here: (https://github.com/fivetran/fivetran_connector_sdk/blob/main/examples/configuration/configuration.json) the API credentials are added to version control. To ensure that your API credentials are not stored in version control, you will need to have to create another script to modify the configuration.json file on the fly as you are deploying. Adding the functionality to upload API keys as environment variables to the connector will solve this problem.
-
Official comment
Hi John,
Thank you for the thoughtful feedback.
I'd love to understand more about why you are deploying the configuration file every time you update your connector code. It only needs to passed once when you first deploy the code, any updates to the code will not over-write the configuration, unless a new configuration file is provided.Love to hear more.
Alison
Please sign in to leave a comment.
Comments
1 comment