Skip to main content
Archive Policy Gateway events in a GCS bucket via S3-compatible HMAC keys.

Configure

FieldValue
TypeGoogle Cloud Storage
Buckete.g. my-policy-logs
HMAC Access IDFrom GCP Console → Cloud Storage → Settings → Interoperability
HMAC SecretShown only once at creation
PrefixDefault policy-gateway/

Object layout

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. See the full field list in connectors.