Approve a certificate for the connection
Approves a certificate, so Fivetran trusts this certificate for a source database connection. The destination setup tests will fail if a non-approved certificate is provided.
NOTE: This is only required for destinations based on the following databases:
Request schema
Path parameters
The unique identifier for the connection within the Fivetran system.
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
Hash of the certificate.
The certificate encoded in base64.
POST /v1/connections/connectionId/certificates HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 119
{
"hash": "jhg5UI7fgrI6yy...",
"encoded_cert": "MIID9DCCAtygAwIBAgIBQjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCV..."
}
Responses
Successful response schema
Response status code
Response status text
The unique identifier of the certificate (Base64URL encoded hash of the certificate).
The certificate name.
Hash of the certificate.
Type of the certificate.
SHA1 of certificate.
SHA256 of certificate.
Date when certificate has been validated and approved.
The unique identified for the user who has approved the certificate.
The certificate decoded public key.
{
"code": "Success",
"message": "Operation performed.",
"data": {
"id": "Y29ubmVjdG9yIGNlcnRpZmljYXRlIGhhc2g",
"name": "Certificate Name",
"hash": "jhg5UI7fgrI6yy...",
"type": "TLS",
"sha1": "c8de1d13vtu435ilj435lj345796d8jh7hk8hgk",
"sha256": "5vt6rt6jtr654eef94ec3f91122a623b389f4d331ff330026e43af21013vb45f",
"validated_date": "2023-08-20T10:15:20.677566Z",
"validated_by": "user_id",
"public_key": "Sun RSA public key, 2048 bits params: null modulus: 7685655455... public exponent: 65537"
}
}