Skip to content

Support for AWS Secrets Manager Rotation Event #113

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

Closed
keinproblem opened this issue Apr 22, 2020 · 2 comments
Closed

Support for AWS Secrets Manager Rotation Event #113

keinproblem opened this issue Apr 22, 2020 · 2 comments

Comments

@keinproblem
Copy link

AWS Lambda Java Events v2.0 should cover the AWS Secrets Manager Rotation Trigger Event as described in: https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-lambda-function-overview.html for the sake of consistency.

@msailes
Copy link
Collaborator

msailes commented May 15, 2020

Hi @keinproblem ,

Thanks for making us aware of the missing support in this area.

Because of the capitalization of this event it is slightly more complex.

{
  "Step" : "request.type",
  "SecretId" : "string",
  "ClientRequestToken" : "string"
}

instead of:

{
  "step" : "request.type",
  "secretId" : "string",
  "clientRequestToken" : "string"
}

@carlzogh will look at what Lambda changes need to be made to support this event.

@carlzogh
Copy link
Contributor

Hey @keinproblem,

SecretsManagerRotationEvent has been added to the aws-lambda-java-events library and released as part of version 3.3.0 (ref: https://github.com/aws/aws-lambda-java-libs/blob/master/aws-lambda-java-events/RELEASE.CHANGELOG.md).

It is now available to download from Maven https://search.maven.org/artifact/com.amazonaws/aws-lambda-java-events/3.3.0/jar

Thanks for bringing this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants