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

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

just got stuck on this issue when creating k8s cluster and mongo databases via terraform. Any news? did I miss something in the terraform provider?

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.