How to onboard a GCP account to Kloudle

Riyaz Walikar
Feature image

What is Kloudle?

Kloudle is a Digital Assets Security Automation Platform for SREs and DevOps. When integrated with your Cloud or SaaS provider, Kloudle takes periodic security snapshots and provides complete security contextual visibility that allows you to make informed decisions about your infrastructure, the assets and their various configurations.

Kloudle collects metadata about the resources and analyzes them to identify misconfigurations and using a massive research powered knowledgebase, identifies what would go wrong if these misconfigurations were exploited and what you can do to fix them.

As part of making sure the lives of SREs and DevOps become easier, Kloudle offers the ability to create “rules” that allow a user to take automated actions against a baseline. These automated actions, which we call Security Processes, allow users to configure a series of steps that kick in when custom events occur to ensure the security of the cloud and SaaS platform being monitored.

What is this document about?

This document details the steps that are required to create a Google Cloud service account token to be onboarded to Kloudle so that Kloudle can make API requests to Google Cloud.

GCP Onboarding steps for Kloudle


A Principal that can create a Service Account and add permissions is required to complete the steps listed here.

  1. A user with at least iam.serviceAccounts.create and iam.serviceAccounts.setIamPolicy permissions is needed to create the Service Account that Kloudle will use

  2. Login with a user that satisfies that above permission and continue below (an Administrator user or an IAM user with “Basic > Editor” AND “IAM > Security Admin” roles will work)

Through the UI

Creating a new service account

  1. Create a new service account within your GCP project by using the following URL:https://console.cloud.google.com/iam-admin/serviceaccounts/create

  2. Use the name “kloudle-sa” and service account ID as “kloudle-sa”

    gcp service account

  3. Click on “Create and Continue”

  4. Select the Basic > Viewer permission for the role

    GCP role permissions

  5. Also add Security Reviewer permissions

  6. If GKE (Google Kubernetes Engine) is also present in your Google Cloud account, then the Kubernetes Engine Developer role also needs to be added

  7. Do not provide any information in the Grant users access to this service account input fields

  8. Click on “Done” to create the new services account

Obtaining JSON key for Service Account

  1. Navigate to https://console.cloud.google.com/iam-admin/serviceaccounts and select the newly created account

  2. Click on the Keys tab

    JSON key for Service Account

  3. Click on the “ADD KEY” button and click on “Create new key”

    New JSON key Service Account

  4. Select Key Type JSON (default). When the Create button is clicked, a JSON key is created. Download the JSON key file

    Create new JSON key

Adding Google Cloud account to Kloudle

  1. Now in Kloudle dashboard, go to Manage and click on Google Cloud under Cloud Integrations

    Kloudle dashboard

  2. On the onboarding screen provide a custom name for your Google Cloud account under Account Name

    onboarding gcp to Kloudle

  3. Under Authentication Details, paste the contents of the JSON key file downloaded in the previous section and then click on Verify button to ensure that the authentication details are correct

    json key Authentication Details

  4. Once the authentication details are verified, click on Save button to onboard your Google Cloud account to Kloudle

    onboarding gcp to Kloudle

Video Instructions

Here’s a video that shows how you can do this.

← Back to Blog