skip to Main Content

AWS Secrets Manager auto rotation lambda function that rotates only one key value – Amazon Web Sevices

I have this lambda function that I got from here: https://github.com/endre-synnes/python_aws_course/blob/main/lambda_intro/04_secrets_and_databases_and_stuff/17_rotate_secrets.py import boto3 def lambda_handler(event, context): arn = event['SecretId'] token = event['ClientRequestToken'] step = event['Step'] # Setup the client service_client = boto3.client('secretsmanager') # Make sure the version is staged correctly…

VIEW QUESTION
Back To Top
Search