Approve a certificate for the destination
Approves a certificate, so Fivetran trusts this certificate for a destination database connection.
Request schema
Path parameters
destinationId
stringrequired
The unique identifier for the destination within the Fivetran system.
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Accept
string
example:
application/json
default:
application/json
Request
hash
stringrequired
Hash of the certificate.
encoded_cert
stringrequired
The certificate encoded in base64.
Http + 1.1
POST
https://api.fivetran.com/v1/destinations/null/certificates
POST /v1/destinations/null/certificates HTTP/1.1
Accept: application/json
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 4
null
Responses
200
Successful response
400
Missing `hash` or `encoded_cert` fields in request payload
404
Destination not found
Successful response schema
code
stringrequired
Response status code
message
string
Response status text
data
objectrequired
name
stringrequired
The certificate name.
hash
stringrequired
Hash of the certificate.
type
stringrequired
Type of the certificate.
sha1
stringrequired
SHA1 of certificate.
sha256
stringrequired
SHA256 of certificate.
validated_date
stringrequired
Date when certificate has been validated and approved.
format:
date-time
validated_by
stringrequired
The unique identified for the user who has approved the certificate.
public_key
stringrequired
The certificate decoded public key.
null