February 18, 2021
Service Account integration in Google Cloud actions
Until now, each Google action in Buddy either used OAuth or required adding a Service Account Key. With this week's release, we have unified the authentication to Service Accounts only.
Contrary to OAuth, Service Accounts are much safer, as they allow for much higher granulation of permissions. This means you can narrow down access scopes of Buddy to a specific project or resources in the project.
As all Google actions have been rewritten onto the new mechanism, it is no longer possible to add new Google actions using an existing integration. You can however, edit the details of existing integrations, as well as the Google actions using them.
Regardless if you already use gcloud actions or not, adding a new action to the pipeline will require you to configure a new integration via the Service Account Key. This applies to the following actions:
Clicking an action will bring up the integration window. Click the button at the top to proceed:
Enter a telling name for your integration and paste or upload the JSON with the key to your gcloud service account:
Make sure that the service account you're using is assigned permissions to the resources that the action requires.
The bottom part of the screen also lets you configure the scope of access to the integration within Buddy. For example, setting the scope to
Private will prevent other users in the workspace from adding actions using this integration:
And that's it – you can automate your gcloud tasks with Buddy. Note the name of the newly added integration appear at the bottom:
How to get the Service Account Key
- Log in to your Google Cloud Platform
- Go to IAM & Admin → Service Accounts:
- Click the account that you want to integrate Buddy with
- Go to Keys at the bottom and click Add Key. Create a new key or upload an existing one from your disk:
JSONas the type and click Create:
- Download the key to your disk and store it somewhere safe. You can now use it to add the integration in Buddy.
Buddy is 100% customer-driven. If there’s a feature or integration you miss, let us know in the comments below or directly at firstname.lastname@example.org.
Customer Success Manager