Databases - Pro

Get Pro database TLS certificate

Changed on

Gets the X.509 PEM (base64) encoded server certificate for TLS connection to the database. Requires 'enableTLS' to be 'true' for the database.

get/v1/subscriptions/{subscriptionId}/databases/{databaseId}/certificate

Request

  • Base URL
    https://api.redislabs.com
  • URL
    https://api.redislabs.com/v1/subscriptions/{subscriptionId}/databases/{databaseId}/certificate
  • Auth
    API key in header x-api-key and API key in header x-api-secret-key and API key in header x-auth-token

Path parameters

subscriptionIdinteger required

Subscription ID.

databaseIdinteger required

Database ID.

Response

OK

publicCertificatePEMStringstring

An X.509 PEM (base64) encoded server certificate with new line characters replaced by '\n'.

Changes