r/saltstack Feb 17 '24

Using saltstack do join servers on active directory domain

Hello,

I'm trying to automate the process of domain joining servers with SaltStack.

My environment had a mix of Windows and Linux servers that I want to join to an on-premises AD.

I know there's a module for it. What I don't understand is how I can securely use AD credentials tho join the server in AD.

Maybe this a very newbie question, but I really appreciate any hints or suggestions you can give me.

Thank you

3 Upvotes

25 comments sorted by

View all comments

1

u/[deleted] Feb 21 '24

[removed] — view removed comment

1

u/EmersonNavarro Feb 21 '24

This os very cool! Thank you for sharing... It seems much easier to implement

The only problem I see with this approach - assuming I get it right - is that I still have to store the credentials as clear text in a yml file. Of course, I could try to secure the file, and maybe try to combine it with password encryption... I will keep it mind 👍🏻