M

Mr. Dubey • 100.28K Points
Coach

Q. Which of these is a secure way to store API keys in a Python application?

  • (A) Hardcoding in source code
  • (B) Storing in environment variables
  • (C) Uploading to public GitHub
  • (D) Saving in plaintext file in app folder
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Python

Explanation by: Mr. Dubey
Environment variables keep secrets out of source code and version control.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics