Skip to main content

Setting up Google Cloud Storage

Overview

Specific actions can be performed on buckets or objects in Cloud Storage by principals. This is enabled by Permissions. The process of giving permissions to the principals includes granting of roles, comprising of one or more permissions bundled with them.

Prerequisite

You need the following resources to set up permissions for service account:

Download JSON to Set up Google Cloud Storage

Follow the below steps to download the JSON file from Google Cloud Storage console:

  1. Log in to your Google Cloud Storage console.
  2. Go to IAM & Admin > Service Accounts.

Alt text



Note: You can find your buckets in Cloud Storage > Buckets. You can create new buckets by clicking on Create.


  1. In the Service accounts page, click the Vertical ellipses under Actions column.

The Actions menu appears.


Alt text


  1. Click Manage keys.
  2. Click ADD KEY > Create new key.

The Create private key pop-up appears.


Alt text


  1. Select JSON.
  2. Click CREATE.

The Service Account JSON file gets created.


Alt text



Note: You will have to upload this JSON file by clicking on Choose File while configuring the Google Cloud Storage import connector on Skypoint.


To add Permissions for Service Accounts

Follow the below steps to add permissions for your service accounts:

  1. Go to IAM & Admin > Service Accounts.
  2. Click Permissions tab.
  3. Click GRANT ACCESS.

Alt text


  1. In the Grant access page, click ADD ANOTHER ROLE.

Alt text


  1. Select a desired role to assign under Cloud Storage in the Role drop-down list.
  2. Click Save.

Create a custom Role

In case, you need to create custom roles, follow the below steps:

  1. Go to IAM & Admin > Roles.

Alt text


  1. Click CREATE ROLE.

Note: To edit an existing role, click the vertical ellipses under the Status column. This new role can be assigned in the Service Accounts.


  1. Select General Availability in the Role launch stage drop-down list.
  2. Click ADD PERMISSIONS to create permission for the assigned role.
  3. Click CREATE.

Alt text