> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abliteration.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Cloud Storage

> Archive Policy Gateway events in Google Cloud Storage via S3-compatible HMAC keys.

Archive Policy Gateway events in a GCS bucket via S3-compatible HMAC keys.

## Configure

| Field          | Value                                                          |
| -------------- | -------------------------------------------------------------- |
| Type           | Google Cloud Storage                                           |
| Bucket         | e.g. `my-policy-logs`                                          |
| HMAC Access ID | From GCP Console → Cloud Storage → Settings → Interoperability |
| HMAC Secret    | Shown only once at creation                                    |
| Prefix         | Default `policy-gateway/`                                      |

## Object layout

```text theme={"system"}
gs://<bucket>/policy-gateway/
  date=2026-04-20/
    <event_id>.json
```

One event per JSON object.

## Query with BigQuery

Create an external table over the bucket and query with SQL. See the [BigQuery external table docs](https://cloud.google.com/bigquery/docs/external-data-cloud-storage).

See the full field list in [connectors](/policy-gateway/connectors).
