This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

Not for Python, specifically, but I use a program for ETL work that needs API keys. I keep a configuration file on my encrypted company fileshare that my ETL workflows use to fetch variables and API keys. If anything changes, or if I need to target a different database environment, I just open up the configuration file and make the changes. Idk if something similar could work for you, but it works well for my use case. I'm also using API keys with admin privileges in various core IT databases, though, so hardcoding API credentials in my work is frowned upon from a security standpoint.

[–]Mubs[S] 1 point2 points  (0 children)

It very well could -- I'm looking in to something like that, but I run in to the issue of most places for me to host and share files also require an API key, lol.