[Python] Where or How to store database credentials in a python backend program

Discussão em 'Python' iniciado por Stack, Setembro 17, 2024.

  1. Stack

    Stack Membro Participativo

    I'm creating a python API which recieves requests from clients and make changes or query mysql database. Instead of hard coding the credentials I added a separate json file and read from it.

    Is there is any other way to keep the database credentials? I'm new to such programming.

    Continue reading...

Compartilhe esta Página