Тёмный

Avoid leaking secret in your repository using python. 

CodeWrecks
Подписаться 1,3 тыс.
Просмотров 85
50% 1

Each year the number of leak of secrets (API key, Cloud based service secrets) detected in git repositories, especially PUBLIC ones is constantly raising. This means that people leaks more secret every year.
This is a subject I really care about and I always suggests that the best way to avoid this problem is completely avoid writing secrets in a file that is contained in a repository. All secrets file should be contained in parent directories that are outside of any repository.
Since AI is a hot topic in these days, you absolutely need to keep your OPENAI key or Azure OpenAI service key outside of your repository. In this video I'll explain how to to this with a super simple and common python library.
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Introduction to Credential Leakage in GitHub Repositories
00:35 - The Risk of Leaking API Keys in Public Repositories
00:58 - Best Practices to Avoid Accidental Credential Leakage
01:22 - Using Python.env Library to Secure Credentials
02:03 - Placing .env File Outside of Git Repository for Security
02:50 - Sharing .env File Across Multiple Projects
03:03 - Loading and Verifying .env File in Python
03:37 - Ensuring Sensitive Settings are Outside Git-Controlled Folders
04:01 - Importance of Not Including Secrets in Repository Files
04:12 - Implementing .env Solution in C-sharp

Наука

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
NOOOOO 😂😂😂
00:15
Просмотров 4,4 млн
DIY rocking horse for your kid #diy #parenting
00:57
Code Reviews: Applying the "Tell Don't Ask" Principle
25:05
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
Java Is Better Than Rust
42:14
Просмотров 178 тыс.
10 МИНУСОВ IPHONE 15
18:03
Просмотров 41 тыс.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
Просмотров 278 тыс.