I does not have 'secrets/config.json' in my connec...
# help-connector-development
p
I does not have 'secrets/config.json' in my connecter.
k
A message from kapa.ai
The
secrets/config.json
file is used to store sensitive information such as API keys, passwords, and other credentials that your connector might need to access a data source or destination. This file is not included in the Airbyte repository by default because it contains sensitive information. You need to create this file manually. Here's an example of how you can create and populate the
secrets/config.json
file:
Copy code
bash echo '{"access_key": "<your_access_key>", "base": "USD"}' > secrets/config.json
In this example, replace
<your_access_key>
with your actual access key. The
base
is just an example property and your actual
config.json
file might need different properties based on the requirements of your connector. Remember to replace the properties and values in the
config.json
file with the actual values that your connector needs. The
secrets
directory should be located in the root directory of your connector. For more information, you can refer to the following documentation: - [Connecting to the API source](https://docs.airbyte.com/connector-development/config-based/tutorial/connecting-to-the-API-source) - [Building a Python Source](https://docs.airbyte.com/connector-development/tutorials/building-a-python-source) - [Building a Python Destination](https://docs.airbyte.com/connector-development/tutorials/building-a-python-destination) - [Building a Java Destination](https://docs.airbyte.com/connector-development/tutorials/building-a-java-destination) - [CDK Tutorial Python HTTP](https://docs.airbyte.com/connector-development/tutorials/cdk-tutorial-python-http/connection-checking)
j
You need to create that manually and fill it with sample configuration for testing