-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lambda Caching Layer #87
Comments
I will have to think at the best way to support this scenario. |
@Kralizek Hi again, I spend time on this topic. Using your Extension, we can "use" a custom implementation of GetSecret to call manually the secret layer. I did it, but the layer seems not working very well. But here how i did it :
Did you already use lambda secret layer and make it work ? Regards |
No I've never used the layer tbh |
@Kralizek according this : the layer will be ready when the application has already started. Is there a way to use your Extension after the application start ? EDIT: I confirm, when calling HTTP GetSecret after application start, for example in a controller, the layer return the secret effectively. For information, here how it works in lambda:
|
Hello,
I'm using AWSSecretsManagerConfigurationExtensions with api running on Lambda. But i'm now facing the issue where the GetSecretValue limit of 10k read/seconds is reached.
I saw AWS provide a cache layer for secret and parameter that can be dirrectly link to a lambda function :
https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets_lambda.html
For example you can add this layer to your function with cloudformation like this :
Actually AWSSecretsManagerConfigurationExtensions is reading secret at each application start. in the case of .net api running on lambda, each invocations is reading secret.
Can we imagine an implementation of the cache layer of lambda ?
Regards
The text was updated successfully, but these errors were encountered: