A Guide to Protecting your Django Secret and OAuth Keys

Written by vladyslav | Published 2020/11/16
Tech Story Tags: django | security | is | important | django-tips | how-to-django | coding | programming | web-monetization

TLDR The SECRET_KEY is a crucial part of the security of Django as any information exposed can revoke a project. I see many of my software engineer friends miss a couple of key points when developing Django projects. I will introduce to you a method that will ensure you never expose your project's private keys ever again, dotenv. This will install a dotenv requirement that will be used to retrieve your secret keys from a file only you have access to. If you were using any other keys, such as OAuth keys, the method would work the same.via the TL;DR App

no story

Written by vladyslav | πŸ‡ΊπŸ‡¦ software engineer @ planet earth 🌍
Published by HackerNoon on 2020/11/16