4 ms·
Stuff like this is how I created a very quick-and-dirty SaltStack module for AD Federation Services: https://github.com/irtnog/salt-states/blob/production/_mod
by xenophonf 4y ago
Stuff like this is how I created a very quick-and-dirty SaltStack module for AD Federation Services:
https://github.com/irtnog/salt-states/blob/production/_modules/identityserver_sts.py https://github.com/irtnog/salt-states/blob/production/_modul...
The SaltStack module starts out empty except for a function that runs at module load time. The initialization function queries PowerShell for all AD FS-related cmdlets and creates Python wrapper functions for them. It even copies the cmdlet's help to the function's docstring.