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
- Login to your GCP account
- Go to GCS
- Find the bucket you want
- Get the name of the bucket
Create a Service Account and Assign Permissions
- Go to the Google Cloud Console.
- On the left-hand menu, select IAM & Admin.
- Click Service Accounts.
- Click Create Service Account at the top.
- Give the service account a name and click Create and Continue.
- In the Grant this service account access to project section, click Select a role.
- Select Storage > Storage Admin.
- Click Continue.
- Click Done.
Create and Download the Service Account Key
- Go to the Google Cloud Console.
- On the left-hand menu, select IAM & Admin.
- Click Service Accounts.
- Find the service account you created above and click on it.
- Go to the Keys tab.
- Click Add Key > Create new key.
- Select JSON and click Create.
- A JSON file will be downloaded. This file contains your service account credentials.
That's it. You now have the
- Credentials Json
Updated 3 days ago