Skip to content

A lambda function to rotate PostgreSQL database user's passwords stored in AWS Secrets Manager.

Notifications You must be signed in to change notification settings

0xSeb/aws_secrets_manager_psql_rotation_lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Secrets Manager PSQL Rotation lambda

This repo exists as I needed a password rotation lambda for passwords stored inside AWS Secrets Manager.

The issue with the default one from AWS is that it's using old libraries to connect to the Postgres Database.

This repo uses Python 3.8 and a statically compiled version of psycopg2 as there was an issue with a missing libpq library if installed through python pip.

Here is the new connection using psycopg2:

db connection new

About

A lambda function to rotate PostgreSQL database user's passwords stored in AWS Secrets Manager.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages