Skip to content

Support for AWS Secrets Manager Rotation Event #113

Closed

Description

@keinproblem

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.

Activity

  1. msailes commented on May 15, 2020

    @msailes
    Contributor

    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.

  2. carlzogh commented on Sep 15, 2020

    @carlzogh
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions