Store & manage secrets like API keys in Python - Tech Tip Tuesdays
Автор: GitGuardian
Загружено: 14 мар. 2023 г.
Просмотров: 28 237 просмотров
In this video, we explore how to securely manage and use secrets like API keys, passwords, credential pairs, and other sensitive information in python. We run through the basics of using environment variables and move on to more advanced scenarios such as managing different secrets for multiple environments.
For this video we use the simple python package, Python Dotenv https://pypi.org/project/python-dotenv/ to be able to store our secrets securely and use them in our project.
0:00 Introduction
1:05 How not to store secrets
2:15 Environment variables
3:07 Creating environment variables
3:36 Using environment variables in python
5:03 Managing secrets with python dotenv
5:35 using .env file in Python
7:20 Protecting .env file
8:30 Managing multiple env files and environments
8:58 Using dotenv values, managing secrets in a dictionary
10:52 Using filename to change env secrets
Also, check our blog on how to manage secrets in python: https://blog.gitguardian.com/how-to-h...

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: