Manage secrets with AWS Secrets Manager with Python - Tech Tip Tuesday

Manage secrets with AWS Secrets Manager with Python - Tech Tip Tuesday

In this video, we show exactly how to use AWS Secrets Manager and how to connect it with your Python application.
Secrets are hard to manage and while using methods like storing them as environment variables in a.env file can be suitable, a more secure method particularly in a team is to use a secrets manager so developers can avoid ever needing to handle the plain text secret.

Subscribe to the channel to get more Tech Tips on Tuesdays (and also other days)

View the source code used in this video at -https://github.com/techwithmack/aws-secrets-py

0:00 intro

0:20 Why use secrets manager

2:09 Overview AWS Secrets Manager

2:29 Storing new secret AWS

4:37 Adding new AWS user

5:35 Configure (connect) AWS user locally

6:58 Example python project (using.env file)

8:25 AWS secrets manager Python Code

12:08 Managing JSON object

12:35 Load into env variable

14:08 Calling load secret function

16:29 Changing secrets