Hi, I have a question regarding the usage of the A...
# announcements
a
Hi, I have a question regarding the usage of the Airbyte Configuration API. So, we're planning to use the processes of creating a source, setting up replication schedule, selecting tables to replicate supposedly through the API. I'm just wondering where to put the secret key or anything related upon configuration—say, I use Stripe as a source, in the request payload.
s
Hi @Andrew Santelices, just a heads up that using Airbyte through the API is still in alpha. The API interface might change a bit here or there, but there should always be a way to achieve what you’re looking for. With that said, when you ask about the secret key, when you’re creating the source, you would use the endpoint
sources/create
and include the secret key inside the
connectionConfiguration
parameter. The “shape” of the
connectionConfiguration
parameter is described by the value returned from
source_definition_specifications/get
which returns a JSON Schema. Whatever you pass in
connectionConfiguration
shouold match that schema, including any secrets.
does this help answer the question?
a
Awesome, this is helpful. Thanks for the quick response, as well. 😄