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

Authenticate using default credentials from SSPI #45

Open
sean-r-williams opened this issue Dec 12, 2023 · 0 comments
Open

Authenticate using default credentials from SSPI #45

sean-r-williams opened this issue Dec 12, 2023 · 0 comments

Comments

@sean-r-williams
Copy link

sean-r-williams commented Dec 12, 2023

Hi all,

I'm trying to call an NTLM-authenticated HTTP service in Go. I'm running on a Windows host and the process's default user credentials accessible via SSPI have access to this service.

I see that the usage examples for this package showcase providing explicit credentials (via the SetBasicAuth method) - I'd like to avoid this so that my service (possibly running as a GMSA) does not need to consume credentials from an insecure source or marshal credentials around otherwise.

I see that alexbrainman/sspi provides some methods to call SSPI, but I'm not sure how to chain these two packages together if that's even possible.

Can someone provide some guidance on how to make this work?

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

No branches or pull requests

1 participant