How AWS Secrets Manager uses AWS CloudFormation - AWS Secrets Manager

How AWS Secrets Manager uses AWS CloudFormation

When you use the console to turn on rotation, Secrets Manager uses AWS CloudFormation to create resources for rotation. If you create a new rotation function during that process, AWS CloudFormation creates an AWS::Serverless::Function based on the appropriate Rotation function templates. Then AWS CloudFormation sets the RotationSchedule, which sets the rotation function and rotation rules for the secret. You can view the AWS CloudFormation stack by choosing View stack in the banner after you turn on automatic rotation.

For information about turning on automatic rotation, see Rotate AWS Secrets Manager secrets.