Hi all,
I've tried to pass a key storage path as an argument in a reference job step but it simply exposes the path itself within the referenced job, not the password. Is this possible?
I'm building an automation framework of sorts that'll allow easy duplication of jobs between Rundeck instances in isolated networks. Imagine a job that simply sends emails through a relay that requires authentication. The SMTP relay server is different for each network, each requiring unique credentials.
In each Rundeck instance I've set global framework variables for things like relay IP address and username and refered to these in the job which of course works as expected. I'd also like the password to use to be defined in a similar way. I've created another global variable that holds the key storage path but when I refer to that in the argument for a reference job step it simply exposes the path, not the password value.
I know I could just make sure that the password key name and it's path is identical (like "smtprelayuser") but we may already have the required creds stored under another name.
I hope I'm being stupid as seems a miss for Rundeck to not support this workflow. Even if it worked, passing the key path as an argument would feel like a bit a kludge too.
TIA