Approve a certificate
Approves a certificate for a connector/destination, so Fivetran trusts this certificate for a source/destination database. The connector/destination setup tests will fail if a non-approved certificate is provided.
Request schema
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
example:
default:
Request
hash
stringrequired
Hash of the certificate.
example:
destination_id
string
The unique identifier for the destination within the Fivetran system.
example:
encoded_cert
stringrequired
The certificate encoded in base64.
example:
connector_id
string
The unique identifier for the connector within the Fivetran system.
example:
Http + 1.1
POST
https://api.fivetran.com/v1/certificates
POST /v1/certificates HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 191
{
"hash": "jhg5UI7fgrI6yy...",
"destination_id": "destination_id",
"encoded_cert": "MIID9DCCAtygAwIBAgIBQjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCV...",
"connector_id": "connector_id"
}
Responses
200
Successful response
Successful response schema
code
stringrequired
Response status code
example:
message
stringrequired
Response status text
example:
{
"code": "Success",
"message": "Operation performed."
}