Skip to content

Commit 818d677

Browse files
authored
Update authentication.mdx
1 parent 78ff3de commit 818d677

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/content/docs/ai-gateway/configuration/authentication.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ head: []
77
description: Add security by requiring a valid authorization token for each request.
88
---
99

10-
The Authenticated Gateway feature in AI Gateway adds security by requiring a valid authorization token for each request. This feature is especially useful when storing logs persistently, as it prevents unauthorized access and protects against "log bombing." With Authenticated Gateway enabled, only requests with the correct token are processed.
10+
Using an Authenticated Gateway in AI Gateway adds security by requiring a valid authorization token for each request. This feature is especially useful when storing logs, as it prevents unauthorized access and protects against "log bombing." With Authenticated Gateway enabled, only requests with the correct token are processed.
1111

1212
:::note
1313
We recommend enabling Authenticated Gateway when opting to store logs with AI Gateway.
14-
:::
1514

16-
:::caution[Caution]
1715
If Authenticated Gateway is enabled but a request does not include the required `cf-aig-authorization` header, the request will fail. This setting ensures that only verified requests pass through the gateway. To bypass the need for the `cf-aig-authorization` header, make sure to disable Authenticated Gateway.
1816
:::
1917

0 commit comments

Comments
 (0)