I would like to completely avoid writing credentials to disk. I want the credentials to be read from the environment variable. But some scripts require a credential file on disk from which they read those credentials. Especially difficult to deal with it when it’s a binary, there isn’t even a way to modify the script. And there isn’t a cli option to read from elsewhere. One such example is the gam (google apps manager).
Question: is there any way to make the file that the binary expects to hold the credentials value somehow pull this value in from the environment variable?
Ideal solution should work for Linux/Unix.