Configure an account default to capture supported payloads across your account. Add a zone override only when a zone needs a different key.
Only users with the Super Administrator role can edit payload logging in the dashboard.
-
In the Cloudflare dashboard, go to Payload logging.
Go to Payload logging ↗ -
In Account default, select Configure key.
-
Enter an existing public key or select Generate key pair.
The public key must be a base64-encoded X25519 key that decodes to 32 bytes.
-
If you generated a key pair, copy the private key and store it safely. Then, select I have stored my private key securely.
-
Select Save.
The account key encrypts future payload logs for every zone without an override.
-
In the Cloudflare dashboard, go to Payload logging.
Go to Payload logging ↗ -
In Zone overrides, select a zone.
-
Select Configure key.
-
Enter an existing public key or select Generate key pair.
-
If you generated a key pair, copy the private key and store it safely. Then, select I have stored my private key securely.
-
Select Save.
The zone key encrypts future payload logs for that zone instead of the account default.
Use the actions next to a configured public key to replace or delete it. If you delete a zone override, the zone uses the account default, if configured.
Deleting an account or zone key does not delete legacy managed ruleset keys.