Link Your Data Source
Data storage methods supported by ByteNite
If your app requires data to function (as most do), it's essential that your data connections are configured correctly. You'll securely store credentials, test connections, and more in this guide.
Your ByteNite jobs can read and write from popular storage locations, including S3 and Google Cloud buckets.
You will set up external credentials using Secrets, and connect your storage options to jobs using Data Sources.
Once set up, your secrets and data sources can work seamlessly across any jobs. Find below the documentation
Setting Up Secrets
If you're using an authenticated connection like S3, you can securely store your credentials in your ByteNite account, keeping them out of your code.
Use the secretType
field to choose your secret provider, such as AWS or Google Cloud Storage, from the supported options.
Send a request to the Secrets endpoint to securely create and store a secret in your account, enabling access to your data sources.
Configure your request by filling in these parameters:
Here's an example of a secret request body:
Setting Up Data Sources
Configure your data sources to enable input and output with your current storage provider. You'll need to provide a dataSource
object for both inputs (also known as "Data Source") and outputs (referred to as "Data Destination"). Once both dataSource
objects are set up, you can:
The fields listed below represent the dataSource
object. Please note, the params
object varies based on the data source type. For data sources requiring access/secret key authentication, provide the ID of the relevant secret within the params
body.
Use the bypass
data source descriptor to skip data source or destination requirements. This is useful if no input data is needed or when your apps or engines produce no output
Here is a full dataSource
object example:
Supported Data Source Options
Below is a list of currently supported data source connections and parameters for both inputs and outputs.
I/O Data Sources
Input-Only Data Sources
Output-Only Data Sources
Last updated
Was this helpful?