aws-secrets-manager-rotation-lambdas
serverless-micro-django
aws-secrets-manager-rotation-lambdas | serverless-micro-django | |
---|---|---|
4 | 2 | |
306 | 13 | |
1.3% | - | |
5.1 | 0.0 | |
18 days ago | over 3 years ago | |
Python | Python | |
MIT No Attribution | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aws-secrets-manager-rotation-lambdas
- How does your company do secret management? AWS/GCP/Azure/Vault/CyberArk etc. thoughts?
-
How to store (or Not) your DB password in AWS
Create a new Lambda function that will handle the rotation - here is a template https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/blob/master/SecretsManagerRDSMySQLRotationMultiUser/lambda_function.py - I created it in a separate folder within the same repository. If you are like me, new to using Python, you could use this helpful guide:https://docs.aws.amazon.com/lambda/latest/dg/python-package.html.
-
Secrets Manager vs Env Variables for Postgres DB
One extra benefit of using Secrets Manager is that you can enable secret rotation. You can find reference implementations for the rotation lambda here https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas
-
deploying AWS provided lambda with terraform, problem with dependencies
I would like to deploy SecretsManagerRDSPostgreSQLRotationMultiUser lambda with terraform; meaning I would store source code of lambda linked above in my repository and use terraform to package it into zip file, including dependencies and then upload it to AWS.
serverless-micro-django
-
Serverless Micro Django | Lightweight, yet powerful Python utility for lambda functions
Source Code: https://github.com/mmoallemi99/serverless-micro-django
So even if you just need Django ORM without all the serverless and fancy stuff use the codes above and you’re good to go. Or check out the GitHub repository: https://github.com/mmoallemi99/serverless-micro-django
What are some alternatives?
chalice - Python Serverless Microframework for AWS
url-shortener-chalice - A simple URL shortener app using Python AWS Chalice, AWS Lambda and AWS Dynamodb.
serverless-application-model - The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
cloudformation-templates - Templates which can be used to automate infrastructure deployments in AWS
aws-lambda-chaos-injection - Chaos Injection library for AWS Lambda
django-polymorphic - Improved Django model inheritance with automatic downcasting
Zappa - Serverless Python
ssl-check-api - This api returns the ssl expiration date of the hostname.
session-lambda - A simple way to manage sessions for AWS Lambdas
pydantic - Data validation using Python type hints