salt-step icon indicating copy to clipboard operation
salt-step copied to clipboard

Occult salt_user and salt_password options to clients in rundeck jobs

Open albertmfb opened this issue 9 years ago • 5 comments
trafficstars

When using salt-step to execute jobs in rundeck via saltstack it is necessary to configure the salt_user and salt_password options in jobs.

Is the any way to occult to a client these two parameters from the jobs configured?

Until now, these parameters are visible to them and it is not necessary. Thanks in advance.

albertmfb avatar Nov 25 '15 10:11 albertmfb

Good morning, on this subject, the only way that i found until now is to do 2 jobs,

one with salt_user and salt_password options, and another one (offered to the final users), that calls the first, so on this way to users dont see the options.

Do you know another option more easily to do this? Any information would be appreciated.

Thanks.

albertmfb avatar Jan 13 '16 09:01 albertmfb

@albertmfb how to config this?can you describe it clearly? thank you

SolarisYan avatar Sep 21 '16 02:09 SolarisYan

+1, can anybody describe where the salt_user and salt_passwd would be written? thx so much!

z-zkagami avatar Sep 26 '16 08:09 z-zkagami

screen shot 2016-09-27 at 2 04 37 pm

This screen shot might help you to store the username and password.

ghost avatar Sep 27 '16 08:09 ghost

@openstackAnalyst key storage is good,but every job use salt will define option about salt, how we can only define those in one job,and other job call it to get the salt options?

SolarisYan avatar Nov 30 '16 06:11 SolarisYan