How to store API authentication password?

How to store API authentication password?