doctl icon indicating copy to clipboard operation
doctl copied to clipboard

Access the link to download CA certificate for managed databases

Open tonnyavery opened this issue 1 year ago • 1 comments

What is the problem this feature would solve? Please describe.

To fully automate managed database cluster setup within my infrastructure, including access to the database by other services, I would like to have a way to access CA database certificate download link. This would allow me to download certificate and pass it through the environment to configure SSL access. Additionally I would love that to be accessible with Terraform too.

Describe the solution you'd like Doctl implementation + Terraform exposed output parameter for the digitalocean_database_cluster resource: https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/database_cluster

Additional context

tonnyavery avatar Mar 12 '24 20:03 tonnyavery

Hello, God, I don't know what I did, I don't know programming at all, I'm just very interested in these programs, but I don't have the money to spend, nor the possibility to study, that's why I got stuck, I don't know what I did.

On Tue, 12 Mar 2024, 23:54 Anton Averin, @.***> wrote:

What is the problem this feature would solve? Please describe.

To fully automate managed database cluster setup within my infrastructure, including access to the database by other services, I would like to have a way to access CA database certificate download link. This would allow me to download certificate and pass it through the environment to configure SSL access. Additionally I would love that to be accessible with Terraform too.

Describe the solution you'd like Doctl implementation + Terraform exposed output parameter for the digitalocean_database_cluster resource: https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/database_cluster

Additional context

— Reply to this email directly, view it on GitHub https://github.com/digitalocean/doctl/issues/1512, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCZN2VYBKJH7RHIYD4UXNRLYX5QBDAVCNFSM6AAAAABES5VX7GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DENRQG44TQNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

MrCuPper avatar Mar 12 '24 20:03 MrCuPper

On the Terraform side, the digitalocean_database_ca data source has been available since v2.13.0 (released October 7, 2021).

https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/data-sources/database_ca

andrewsomething avatar Sep 06 '24 14:09 andrewsomething

Implemented in doctl v1.114.0

loosla avatar Sep 12 '24 17:09 loosla