Pode icon indicating copy to clipboard operation
Pode copied to clipboard

Adding a option to keep the login credentials as a PSCredential object when using Add-PodeAuthWindowsAd

Open TheBakaBandit opened this issue 3 years ago • 0 comments

Description

Sometimes we want to keep the login credentials of WindowsAD users in order to run some scripts as that user.

Suggestion

We can add a switch -KeepCredential to the Add-PodeAuthWindowsAd function, which stores the Users details as a PSCredential object in $WebEvent.Auth.User.Credential

TheBakaBandit avatar Aug 01 '22 13:08 TheBakaBandit