I would like to automate the process of adding trusted sources to my managed databases. Thank you!
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi @beauzo,
I wanted to follow up here to let you know that the DigitalOcean API now supports managing a database cluster’s firewall rules (or “trusted sources” as they are called in the control panel). You can use this endpoint to limit connections to specific Droplets, Kubernetes clusters, external IP addresses, or groups of resources using tags.
Check out the API changelog entry for more information.
Hello @bobbyiliev,
Understood. And thank you for the reply. :)
Best, -Beau
Hello @beauzo,
Unfortunately, “Trusted Sources” are not supported via the API at the moment, but I believe that DigitalOcean are already working on it and hopefully, it would be available in the near future.
Regards, bobby