Secrets management?
crmorga
Posts: 3
On my current project I need a password to connect to a device over TCP, but I'm struggling to determine a reasonable method to store that password and access it in my script. Typically, if I need to keep a password somewhere, I'll store as an environmental variable and access it in python using os.environ. This works well with most secret management solutions. However, in muse I don't have a simple way to access a terminal where I can run export to set a var. Karaf has this: https://karaf.apache.org/manual/latest-2.x/commands/shell-env.html, but it doesn't seem to be available in mojo. Right now all I can think of is to invoke an interactive shell from python and set the var there, but it seems like there must be a better way.
0
Comments
How about in a text file on the processor?
Just in case of using the textfile option:
https://help.harmanpro.com/muse-script-and-automator-differences-for-read-write