Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
15 lines (11 loc) · 823 Bytes

with-secrets-manager.md

File metadata and controls

executable file
·
15 lines (11 loc) · 823 Bytes

Using AWS Lambda with Secrets Manager

Secrets Manager uses a Lambda function to rotate the secret for a secured service or database. You can customize the Lambda function to implement the service-specific details of rotating a secret.

Secrets Manager invokes the Lambda rotation function as a synchronous invocation. The event parameter contains the following fields:

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

For more information about using Lambda with Secrets Manager, see Understanding Your Lambda rotation function.