Set up Google Cloud Storage
This guide walks you through setting up Google Cloud Storage (GCS) to enable secure data ingestion from your GCS buckets.
This guide walks you through setting up Google Cloud Storage (GCS) to enable secure data ingestion from your GCS buckets. The connector catalogs GCS buckets and objects only.
Prerequisites
- GCS bucket containing the data you want to ingest
- Appropriate permissions to create service accounts and manage IAM roles
Permissions required
Make sure you (or an administrator) can assign the following IAM roles to the service account that the connector uses:
- Storage Bucket Viewer (
roles/storage.bucketViewer
) - Storage Object Viewer (
roles/storage.objectViewer
)
You also need permission to create a service account and generate its key.
Create a service account
-
Select your project from the project dropdown. Creating a dedicated service account avoids using personal credentials and lets you manage access centrally.
-
In the left navigation menu, go to IAM & Admin > Service accounts.
-
Select Create service account.
-
Enter a name for your service account (for example,
atlan-gcs-connector
). -
Add an optional description.
-
Select Create and continue.
Assign roles and permissions
Add the following roles to your service account: These roles grant read-only access so the connector can discover buckets and objects without modifying data.
- Storage Bucket Viewer: Lets you read bucket details (
storage.buckets.list
). - Storage Object Viewer: Lets you list objects and read object metadata (
storage.objects.list
).
- Select Done.
Generate a service account key
-
In the left navigation menu, go to IAM & Admin > Service accounts. The JSON key file is used by the connector to authenticate to GCP programmatically.
-
Select Create key.
-
Download and store the key file securely.
-
Select JSON as the key type.
-
Select Create.
-
Download the JSON file and store it securely.
Configure bucket permissions
-
Navigate to Cloud Storage. Grant the service account access to every bucket you want Atlan to crawl.
-
Select your bucket.
-
Go to the Permissions tab.
-
Select Add principal.
-
Enter your service account email (for example,
[email protected]
). -
Assign the Storage Object Viewer role.
-
Select Save.
Need help
If you run into issues during the GCS setup process:
- GCP documentation: Refer to the Google Cloud IAM documentation for detailed information about roles and permissions.
- Contact Atlan support: For issues related to Atlan integration, contact Atlan support.
Next steps
- Crawl GCS assets: Follow this guide to configure the crawler workflow and ingest metadata from your GCS buckets.