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

Posted March 13, 2020 452 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.

2 answers

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.

  • Would also like to see this feature. Right now it’s not possible to fully automate the infrastructure pipeline with Terraform.

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.

Submit an Answer