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

Support using credentials from Docker/Podman credential stores. #171

Closed
tmds opened this issue Dec 9, 2024 · 1 comment
Closed

Support using credentials from Docker/Podman credential stores. #171

tmds opened this issue Dec 9, 2024 · 1 comment

Comments

@tmds
Copy link

tmds commented Dec 9, 2024

It would be nice if the library can use credentials stored by docker/podman. These stores provide a common mechanism to store registry credentials.

The .NET SDK's built-in container tooling uses https://github.com/mthalman/docker-creds-provider to obtain credentials from these stores.

The credentials are then used by this DelegatingHandler: https://github.com/dotnet/sdk/blob/main/src/Containers/Microsoft.NET.Build.Containers/AuthHandshakeMessageHandler.cs to set appropriate headers.

@shizhMSFT does this feature make sense?

@tmds
Copy link
Author

tmds commented Dec 9, 2024

I should have checked the open issues. This is a dup of #47.

@tmds tmds closed this as completed Dec 9, 2024
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