Database - Credentials
Get Certificate
Get the certificate of a database hosted on Square Cloud.
GET
Get Certificate
string
required
The API key for your account. You can find this in your account settings.
.pem file. Managed MongoDB, MySQL and PostgreSQL databases each ship with their own certificate; check your driver’s TLS options to see whether it needs one.
The database must be running when you call this, if it is stopped, start it first. To rotate the certificate instead of just reading it, use Reset Credentials with reset: "certificate", then re-fetch it here.
Parameters
string
required
The ID of the database.
Response
string
Indicates whether the call was successful..
success if successful, error if not.object
The contents of the response.
Common errors
Get Certificate

