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

[Task] Update Dapr Azure Redis library to use authentication type flags #435

Open
FullStackChef opened this issue Jan 31, 2025 · 0 comments
Assignees

Comments

@FullStackChef
Copy link
Contributor

Summary

Currently the dapr azure redis library checks the authentication methods set for redis in the configure infrastructure methods and sets dapr and redis settings as a result. @davidfowl has highlighted that this is too late in the lifecycle.

Once Aspire 9.1 lands a previously internal property UseAccessKeyAuthentication on the AzureRedisCacheResource will become public and the following calls should be moved outside of configure infrastructure

daprResourceBuilder.WithParameter("redisHost", redisBuilder.GetOutput("daprConnectionString"));

and

daprResourceBuilder.WithParameter("redisPasswordSecretUri", redisBuilder.GetOutput("redisPasswordSecretUri"));
@FullStackChef FullStackChef self-assigned this Jan 31, 2025
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