Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created December 6, 2022 17:19
Embed
What would you like to do?
106thAirhacksQ&A.md
@senleft
Copy link

senleft commented Dec 7, 2022

Hi Adam,
I have the following use case.
Before calling other services from lambda, it needs to have an up-to-date token (in-house implementation of OAuth 2.0).
One option is the synchronous execution to acquire the token for each lambda invocation.
What other options can you recommend to exclude the synchronous call to the token provider?

Adam's proposed options:

  1. For lambda behind APIG/ALB - lambda authorizer
  2. Lambda extension
  3. Token refresher option - Dynamo DB as storage for token and EventBridge scheduler as a token refresher

@AdamBien
Copy link
Author

AdamBien commented Jan 2, 2023

2022 observations

@AdamBien
Copy link
Author

AdamBien commented Jan 2, 2023

Time travel - questions from 6th airhacks.tv: https://gist.github.com/AdamBien/8735518ee671d7edb778

@AdamBien
Copy link
Author

AdamBien commented Jan 2, 2023

"What is the purpose of that?" (The FunctionalInterface Annotation)
asked here: https://youtu.be/nr02y__b53c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment