Skip to content

Commit cad0e64

Browse files
committed
Update readme section about configuration
1 parent 735ba19 commit cad0e64

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

doc/readme.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ since it only contains non-secret information:
208208
* The expiration time of the access
209209

210210
* The username of the person that generated the token
211-
211+
212212
* A free-text field describing the granted access
213213

214214
Since the party issuing tokens, and the party verifying tokens are the same, we
@@ -231,13 +231,7 @@ Cache-key][CF-cache-cookie].
231231

232232
Normally, you can configure a generic Lambda function via Environment Variables.
233233
Lambda@Edge is tricky in this regard, since it does not support Environment
234-
Variables. We worked around this issue by abusing the Tags.
235-
236-
The configuration itself is stored in an S3 bucket as JSON files. The name of
237-
this S3 bucket is passed as a regular environment variable to the Python Lambda
238-
functions, but as a Tag to the Lambda@Edge function. The Lambda@Edge function
239-
performs a `lambda:GetFunction` on itself (it can find out its own name from the
240-
`context` object at runtime) to read its own Tags.
234+
Variables. In order protect this critical internet-facing infrastructure, we limit dependencies to other services. Config is stored locally and can be updated based on environment (account id) with specific config files. It is critical to keep this configuration in sync with reality.
241235

242236

243237
Code

0 commit comments

Comments
 (0)