Тёмный
No video :(

Properly Load & Manage API Keys in Python 

NeuralNine
Подписаться 364 тыс.
Просмотров 24 тыс.
50% 1

In this video, we learn how to properly and securely load and manage your API keys in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine...
💻 The Algorithm Bible Book: www.neuralnine...
👕 Programming Merch: www.neuralnine...
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine...
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/Neu...
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/

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

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@judevector
@judevector Год назад
Am I the only one that is addicted to the intro beat❤
@netbin
@netbin Год назад
Against which type of attack is this security measure is? What stops intruder to type out these variables and stealing the api keys if they go that far to have an access to files on the server
@richardboreiko
@richardboreiko 3 месяца назад
One more thing to add to the video - if you'll be uploading the project to github, also create a .ignore file in the same directory as the .env file and simply put ".env" (without the quotes) in it.
@jaswanthbsp
@jaswanthbsp Месяц назад
That's a cool terminal customization
@pleabargain
@pleabargain 8 месяцев назад
Big thanks! I didn't know about SETX for windows!
@delharris8443
@delharris8443 5 месяцев назад
Great information. Probably better if you slow down for us newbies.😊
@user-xu3so2ug1f
@user-xu3so2ug1f Год назад
my current way to manage api keys is to run it via 1password cli (replaces a string with the key when its run but there is no key in the code), the downsides are that it costs some money and non 1p users need to change it in the code ...
@burgek1
@burgek1 Год назад
I don't really get it - if you don't want the API key visible in the script but have a file you can open in the same directory then it's not really much improvement on security? I was expecting some encryption?
@aflous
@aflous Год назад
the .env file would remain on your local machine, won't go into the code repo
@luan_dragonpro9669
@luan_dragonpro9669 Год назад
@@aflous then how tf are the ones using the code repo going to get it
@santiagootero3580
@santiagootero3580 3 месяца назад
what about the .env file when launching the webste? isnt it vulnerable for malisious users whoose purpouse is to get the api keys?
@hugo_guzman
@hugo_guzman 6 месяцев назад
Informative, thank you. Could you explain the secure way of doing this, with encryption and password protection? TIA
@mraghul7418
@mraghul7418 Год назад
Make some data science,machine learning, data analyst simple projects for resume as well as flask
@harshkulkarni8713
@harshkulkarni8713 Год назад
Yah bro we really need it
@rowlandwetmaker
@rowlandwetmaker Год назад
100%! Neural networks in simple terms with examples please :))) very easy going format of his vids. Thanks
@kenkioqqo
@kenkioqqo Год назад
Very well explained.
@paulthomas1052
@paulthomas1052 Год назад
Great demo - cheers !
@Micro-bit
@Micro-bit Год назад
Tkanks for summary!
@ashutoshdave1
@ashutoshdave1 Год назад
Excellent, thanks, keep it up!
@josephguerra5811
@josephguerra5811 2 месяца назад
Does this still work in June 2024? I saw somewhere that client was updated and/or may not be able to be used?
@MelvinLiliewall
@MelvinLiliewall 4 месяца назад
thanks
@didierdavid9324
@didierdavid9324 Год назад
Thanks for your videos I'm making an app that uses google's RU-vid API how to hide the API key when I install the application on another computer?
@Lukikrudi
@Lukikrudi Год назад
Does anyone know what theme he is using for bash or zsh in the Ubuntu environment?
@aflous
@aflous Год назад
there is no theme whatsoever, this is just an image background used in the new Windows Terminal
@Lukikrudi
@Lukikrudi Год назад
@@aflous I don't mean the terminal background. There most definitely is a theme as stock ubuntu bash doesn't have a prompt like this. I assume it's a oh-my-zsh theme or the equivalent for bash.
@arifsoylu
@arifsoylu Год назад
TELL ME THE TERMINAL SOFTWARE YOU ARE USING, TELL ME NOW
@flor.7797
@flor.7797 Год назад
Flori ❤
@blender6895
@blender6895 Месяц назад
my python doesnt look lik that
@gamagedotme536
@gamagedotme536 2 месяца назад
chears !
@russhensel
@russhensel Год назад
I think that just using module variables in a "secret" directory is just as safe, and simpler, pure python. convince me i am wrong.
@aflous
@aflous Год назад
nope ;)
@ifeanyinneji7704
@ifeanyinneji7704 Год назад
What if you need to push your code to production?
@aflous
@aflous Год назад
Well, that's exactly the main raison for env files! You can push to production and handle configuration outside of your code (via ci/cd tools like Octopus for example)
@mehdismaeili3743
@mehdismaeili3743 Год назад
Excellent. first comment !!!
Далее
API Key Authentication Best Practices
25:56
Просмотров 30 тыс.
I Built a WATERPARK In My House!
26:28
Просмотров 22 млн
Секрет фокусника! #shorts
00:15
Просмотров 44 млн
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,5 млн
What are API Keys? | Using API Keys
10:48
Просмотров 191 тыс.
Use OpenAI's ChatGPT in Python
13:18
Просмотров 93 тыс.
5 JavaScript API Key Mistakes (and how to fix them)
12:49
How to Access Web APIs using Python Requests and JSON
14:00
Two-Factor Authentication (2FA) in Python
12:20
Просмотров 45 тыс.
How to HIDE Your API Keys in Python Projects
4:27
Просмотров 67 тыс.