Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TheBakaBandit opened this issue Aug 1, 2022 · 0 comments

Comments

@TheBakaBandit
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants