Is it possible to download the managed database's `ca-certificate.crt` using the DO API, or similar?

Posted March 13, 2020 1.1k views
DigitalOcean Managed PostgreSQL Database

I would like to fully automate the generation and configuration of database client credentials. Are custom certs a consideration for future versions of the managed database service?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

I need this functionality too. I’m currently deploying DigitalOcean using Terraform and need the ability t receive the CA certificate over API and setup some other servers.

Hi beauzo -

It is currently not possible to retrieve the ca-cert via API. This is an oversight on our side. We are planning to amend this gap very soon.