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 ServicePrinciple with Token to create Redis ConnectionMultiplexer #13

Closed
AdamWuGitHub opened this issue Jul 26, 2023 · 4 comments

Comments

@AdamWuGitHub
Copy link

In Private review, Azure Redis support service principal with AccessToken, can we keep support that in the new lib?

ConfigurationOptions options = ConfigurationOptions.Parse($"{HostName}:6380,user={ServicePrincipalName},password={result.AccessToken}");

@samsaha-ms
Copy link

samsaha-ms commented Jul 26, 2023

From public preview onwards server-side authentication check is hardened. Additionally multiple SPN can share the same name. Based on these factors and feedback from private preview customers we have removed the support for SPN name as username from server side itself. Hence for this client library it is irrelevant now to support the SPN name as user.

@AdamWuGitHub
Copy link
Author

Can we support using certificate to authorize AAD?

@samsaha-ms
Copy link

I believe active work is ongoing to support certificate based auth using SPN.
@philon-msft, do you want to take this question?

@philon-msft
Copy link
Contributor

v2.0.0 supports authentication using a Service Principal certificate. Please let us know if you see any issues.

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

3 participants