Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xSeb/aws_secrets_manager_psql_rotation_lambda
A lambda function to rotate PostgreSQL database user's passwords stored in AWS Secrets Manager.
https://github.com/0xSeb/aws_secrets_manager_psql_rotation_lambda
Last synced: 9 days ago
JSON representation
A lambda function to rotate PostgreSQL database user's passwords stored in AWS Secrets Manager.
- Host: GitHub
- URL: https://github.com/0xSeb/aws_secrets_manager_psql_rotation_lambda
- Owner: 0xSeb
- Created: 2021-10-01T07:47:51.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-17T10:25:08.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:09:37.092Z (4 months ago)
- Language: Python
- Size: 869 KB
- Stars: 8
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changes.png
Awesome Lists containing this project
- jimsghstars - 0xSeb/aws_secrets_manager_psql_rotation_lambda - A lambda function to rotate PostgreSQL database user's passwords stored in AWS Secrets Manager. (Python)
README
# 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](changes.png)