# Google Cloud Storage Google Cloud Storage Authentication

Source: https://userguide.qualytics.io/source-datastore/datastore/dfs/google-cloud-storage/authentication/

Qualytics signs in to Google Cloud Storage as a Google Cloud **service account**, using a JSON key you upload on the connection. Every read and write uses that service account, so its role on the bucket decides what Qualytics may do (see [Permissions](https://userguide.qualytics.io/source-datastore/datastore/dfs/google-cloud-storage/permissions/)).

## Service Account Key

Upload the key in the **Service Account Key** field of the **Connection Properties** section. Upload the file rather than pasting its contents. To create the service account and its key, see [Create a Service Account Key](https://userguide.qualytics.io/source-datastore/datastore/dfs/google-cloud-storage/how-tos/setup/create-service-account-key/).

The key does not expire on its own, but anyone holding the file can use it. If it leaks, delete the key on the service account in Google Cloud, create a new one, and upload it on the connection.

> **Warning**
>
> Grant the role on the bucket, not on the whole project, so the key reaches only the data Qualytics needs.

> **Tip: Credentials from a secrets manager**
>
> Any credential field can take its value from HashiCorp Vault or another secrets manager instead of being typed in: turn on **Secrets Management** on the connection and write `${key}` in the field. See the [HashiCorp Vault](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/hashicorp-vault/) pages for setup and troubleshooting.

*Last updated: November 16, 2026.*
