~ 3 min read

How to onboard a GCP account to Kloudle

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.

Table of Contents

What is Kloudle?

What is this document about?

GCP Onboarding steps for Kloudle

     Through the UI

          Creating a new service account

          Obtaining JSON key for Service Account

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

Pre-requisites

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

This is possible by a user with at least iam.serviceAccounts.create and iam.serviceAccounts.setIamPolicy permissions. A Principal with the “Basic > Editor” and “IAM > Security Admin” roles can be used to complete the steps below as both these roles have the required permissions.

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

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

Create Service Account

  1. Click on “Create and Continue”

  1. Select the Basic > Viewer permission for the role

Select the Basic > Viewer permission for the role

  1. Also add “Pub/Sub Admin”, “Composer Administrator” and “Security Admin” permissions
  2. if GKE (Google Kubernetes Engine) is also present then the “Kubernetes Engine Developer” role also needs to be added
  3. Do not provide any information in the “Grant users access to this service account” input fields.
  4. 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.

  1. Click on the Keys tab

Keys

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

Create New Key

  1. Select Key Type JSON (default). When the create button is clicked, a JSON is created. Download the JSON key file.
  2. Now in Kloudle dashboard, go to Manage and click on Google Cloud under Cloud Integrations

6. On the onboarding screen, provide the Project ID for your Google Cloud project for which the service account was created in the previous steps and give a custom name for your Google Cloud account under Account Name

7. Under Authentication Details, paste the contents of the JSON key file downloaded in step (4)

8. Click on Add Account button to onboard your Google Cloud project (account) to Kloudle

***

;