Hello,
I am exploring the use of AWS Lambda functions as a client to Apigee API proxies and I am looking for a good architecture for requesting and re-using OAuth tokens generated from Apigee.
The Lambda function that initiates the process is itself initiated from a request to Apigee (currently the Apigee API will used a node.js target that triggers Lambda via SNS)
The proposals suggested by the team so far include:
At the moment we're settling on 1. mostly so that we can get started and experiment but my concern is that as we add more functions, and possibly see multiple instances of a function at a time, we'll end up with too many (unnecessary) token requests.
What is a good pattern for managing tokens across Lambda functions?
Thanks
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |