Hmm. Okay, thanks for that. So, maybe I should share a bit of background about why I want this…
I’m trying to get the history of a file. This isn’t possible through the Web GUI as far as I can tell, so I have to use the CLI. In order to use the CLI, I have to pass the credentials.
So, I was trying to figure out if I could create a script that would load up the environment variables for me automatically based on the configuration of the Web GUI. That way I can avoid typing them every time or hardcoding them in plaintext in a script. I was hoping I might be able to pipe the output of -print-credentials and stuff it into the right variables, but that isn’t going to work based on what you’re describing.
I guess I can set them globally on my machine/user environment, but, I’d really rather only have them set while I was working with the CLI…
Wouldn’t it be nice if there was an easy way to use the CLI with the Web GUI?