title: How to hide MYSQL credentials in SQLAlchemy using Flask application
body: <p>I'm using MySQL for my Flask application; but I need help for hiding the password in the MySQL user credentials</p>
  
  <p>Currently it's like this</p>
  
  <pre><code>from flask import Flask
  from flask_sqlalchemy import SQLAlchemy
  import pymysql
  
  
  app = Flask(__name__)
  
  app.config["SQLALCHEMY_DATABASE_URI"] = "mysql+pymysql://iaflask:Flask123@localhost/my_database"
  </code></pre>
  
  <p>Is there a way to hide the username:password (iaflask:Flask123) or at least just to hide the password within the code.</p>