Skip to content

Google Cloud Storage Google Cloud Storage Permissions

Permissions in your Google Cloud Storage

The permissions on this page are granted in your own Google Cloud Storage, to the account Qualytics connects with, by whoever administers Google Cloud Storage at your company. They let Qualytics connect the datastore and read your data, and write to it when it is an enrichment datastore. They are not Qualytics roles or team permissions. To know which Qualytics user role (Admin, Manager, or Member) and team permission you need to connect the datastore in Qualytics, see Source Datastore Permissions.

The permissions required depend on whether the Google Cloud Storage datastore is used as a source or enrichment datastore. Qualytics accesses the bucket with the service account whose key you upload.

Minimum Permissions (Source Datastore)

The service account must have the following permissions:

Permission Purpose
storage.buckets.get Validate the bucket exists and retrieve its metadata
storage.objects.get Read file contents for profiling and scanning
storage.objects.list List files in the bucket to discover data assets

Tip

You can grant these permissions by assigning the Storage Object Viewer (roles/storage.objectViewer) role to the service account on the target bucket.

Additional Permissions for an Enrichment Datastore

When Google Cloud Storage is used as an enrichment datastore, the following additional permissions are required:

Permission Purpose
storage.objects.create Write enrichment result files
storage.objects.delete Remove temporary or outdated enrichment files

Tip

You can grant all required permissions (read + write) by assigning the Storage Object Admin (roles/storage.objectAdmin) role to the service account on the target bucket.

Example IAM Policy

Replace <SERVICE_ACCOUNT_EMAIL> and <BUCKET_NAME> with your actual values.

Source Datastore (Read-Only)

{
  "bindings": [
    {
      "role": "roles/storage.objectViewer",
      "members": [
        "serviceAccount:<SERVICE_ACCOUNT_EMAIL>"
      ]
    }
  ]
}

Enrichment Datastore (Read-Write)

{
  "bindings": [
    {
      "role": "roles/storage.objectAdmin",
      "members": [
        "serviceAccount:<SERVICE_ACCOUNT_EMAIL>"
      ]
    }
  ]
}

Tip

If you need both storage.buckets.get and object-level permissions but want to avoid a broader role, you can create a custom role with only the specific permissions listed in the Minimum Permissions section.

Assigning via gcloud CLI

# Source Datastore (Read-Only)
gsutil iam ch \
  serviceAccount:<SERVICE_ACCOUNT_EMAIL>:roles/storage.objectViewer \
  gs://<BUCKET_NAME>

# Enrichment Datastore (Read-Write)
gsutil iam ch \
  serviceAccount:<SERVICE_ACCOUNT_EMAIL>:roles/storage.objectAdmin \
  gs://<BUCKET_NAME>

Tip

You can also assign roles through the Google Cloud Console by navigating to the bucket, selecting Permissions, and clicking Grant Access.

GCS Roles Summary

Role Use Case Permissions Included
roles/storage.objectViewer Source Datastore storage.objects.get, storage.objects.list, storage.buckets.get
roles/storage.objectAdmin Enrichment Datastore storage.objects.get, storage.objects.list, storage.objects.create, storage.objects.delete, storage.buckets.get