Hiding sensitive information

Python: Anyone to help with the best way to hide sensitive information like tokens in python for production?

Securely storing tokens/credentials is a complex question that goes way beyond Algorand. It depends on the actual production environment. It may be best to ask the questions in more general Q&A websites such as https://security.stackexchange.com.

For example, see https://security.stackexchange.com/a/180245. Note that the answer is a bit old and many cloud providers now have a native solution for storing tokens/credentials. It is usually called “secret manager” or “key vault”.

In any case, it is very important to never store credentials in a code repository such as Git.

2 Likes

That’s a soothing answer. It really gives me the clue of what I need. Thank you Fabrice. :cup_with_straw: