Skip to content

Commit f76e053

Browse files
committed
feat: update envoy lds with origin protection keys
1 parent 22d1c60 commit f76e053

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

ansible/files/envoy_config/lds.supabase.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,25 @@ resources:
8282
name: ':path'
8383
string_match:
8484
contains: apikey=supabase_admin_key
85+
origin_protection_key_missing:
86+
permissions:
87+
- any: true
88+
principals:
89+
- not_id:
90+
header:
91+
name: sb-opk
92+
present_match: true
93+
origin_protection_key_not_valid:
94+
permissions:
95+
- any: true
96+
principals:
97+
- not_id:
98+
or_ids:
99+
ids:
100+
- header:
101+
name: sb-opk
102+
string_match:
103+
exact: supabase_origin_protection_key
85104
- name: envoy.filters.http.lua
86105
typed_config:
87106
'@type': >-

0 commit comments

Comments
 (0)