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
Add support for Windows Authentication #24
Comments
Is there anything done with this? |
You can see the status of issues and work via the Projects tab of the repository. |
Would you mind me making PR for it? It should be simple to add... |
Actually supporting WinAuth is not simply adding the URL, just as an FYI because not all REST API endpoints are available to the You are welcome to create a PR though if you work it out, the contributing guide has details on the testing setup. As the command to work on this affects the module as a whole. Each test for a function will also need to be modified to include testing both endpoint access types. |
I have plans to get a part script implemented for validating the version of Secret Server and it may need to be expanded to also cover outputting whether a given endpoint is not there for winauth 🤔 . |
And every single function should be changed, because Invoke-RestApi doesn't take TssSession object as input parameter. Even if it would, all functions still need to be changed ... |
...so not a simply change |
TssSession will always be a required parameter on the functions. That won't change. |
Yes. I'm still interested of the feature, so let me at least think how it could be integrated :) |
I'm more about thinking how to add -TssSession to Invoke-RestApi. So that it doesn't break existing code... |
There is no reason to touch |
i know. But otherwise all functions would have to deal with new type of session. Or a new "part" should be added, that would deal creating 'Invoke-TssRestApi' call. You don't use private functions in this module? |
Sorry but Parts are basically treated as private functions. |
All of this work, off the top of my head (in theory) should be able to deal with this from |
in the beginning i thought that I need to change That makes it to a lot of repeating code :) |
Adjusting the token type would be one method to use that would allow us in the functions to validate functions that are hit that do not have an equivalent The method in which the parameters are being passed in each function to |
meanwhile, found small difference in TssSession class and New-TssSession function: #73. Should I also open issue to mark that? |
I'll create a PR and put only changes to |
Checked the OpenAPI docs for 10.9.33 and I'm not catching any differences between the endpoints, so there may be no need to touch the functions to validate anything. |
Worked over the weekend and finally got this working; had to change a good bit on how the tests and commands were run. I did find a possible bug in the endpoints used by I've got one test that continues to spit the warning out, will circle back around to fix that at a later time. |
Working on building the release to publish now so should be out by mid-day. |
Is your feature request related to a problem? Please describe.
Add support to
New-TssSession
for Windows Authentication with IWA.The text was updated successfully, but these errors were encountered: