patch https://api.y42.dev/api/1/github-backend///credentials
Following are the requirements for this endpoint:
BigQuery
{
"credentials": {
"auth_provider_x509_cert_url": "string",
"auth_uri": "string",
"client_email": "string",
"client_id": "string",
"client_x509_cert_url": "string",
"private_key": "string",
"private_key_id": "string",
"project_id": "string",
"token_uri": "string",
"type": "string"
},
"dwh_type": "bigquery"
}
Snowflake
{
"credentials": {
"account": "string",
"database": "string",
"password": "string",
"user": "string",
"warehouse": "string"
},
"dwh_type": "snowflake"
}
Aws S3
{
"credentials": {
"access_key_id": "AKIARERGWEWER55Z",
"region": "eu-west-2",
"secret_access_key": "szoVLmNv9iFhzYuhgCwd"
},
"dwh_type": "aws_s3"
}
Azure Blob Storage
{
"credentials": {
"account_key": "string",
"account_name": "string",
"container_name": "string"
},
"dwh_type": "azure_blob_storage"
}
