Interfacelab / ilab-media-tools

https://mediacloud.press/
GNU General Public License v3.0
114 stars 37 forks source link

feat: add support to use Google Application Default Credentials #224

Open wmuizelaar opened 1 year ago

wmuizelaar commented 1 year ago

This PR adds support to rely on Google's Application Default Credentials, so you don't have to generate & provide a Service Account key.

This option is only useful when running Wordpress on Google Cloud - whether it's on AppEngine, Cloud Run, a Compute Instance or even on GKE (with Workload Identity enabled); and automatically uses the Service Account credentials that belong to the SA running the workload.