GCP GCS Credentials

To use the GCS connector, we need to create a User with the appropriate permissions. This guide will show you how to create credentials with the minimal permissions you need to access a bucket.

Get Bucket name and region

  1. Login to your GCP account
  2. Go to GCS
  3. Find the bucket you want
  4. Get the name of the bucket

Create a Service Account and Assign Permissions

  1. Go to the Google Cloud Console.
  2. On the left-hand menu, select IAM & Admin.
  3. Click Service Accounts.
  4. Click Create Service Account at the top.
  5. Give the service account a name and click Create and Continue.
  6. In the Grant this service account access to project section, click Select a role.
  7. Select Storage > Storage Admin.
  8. Click Continue.
  9. Click Done.

Create and Download the Service Account Key

  1. Go to the Google Cloud Console.
  2. On the left-hand menu, select IAM & Admin.
  3. Click Service Accounts.
  4. Find the service account you created above and click on it.
  5. Go to the Keys tab.
  6. Click Add Key > Create new key.
  7. Select JSON and click Create.
  8. A JSON file will be downloaded. This file contains your service account credentials.


That's it. You now have the

  • Credentials Json