Document Entra ID and new Azure API pattern for Redis, PostgreSQL, and SQLServer
Opened this issue · 0 comments
eerhardt commented
Describe the issue or suggestion
With supporting Microsoft Entra ID in Redis and PostgreSQL we needed to introduce a new API pattern for working with these resources that can be either locally in a container or as Azure managed resources.
- The existing
[Publish]AsAzureRedis
and[Publish]AsAzurePostgresFlexibleServer
methods are marked Obsolete - New
AddAzureRedis
andAddAzurePostgresFlexibleServer
methods are introduced for when you want an Azure resource.- These methods configure Entra ID by default instead of using secrets.
- To use them in your app, you need to configure managed identity in your app. See
- To continue using password and access key auth - new
WithAccessKeyAuth
/WithPasswordAuth
methods can be invoked.
- To use a non-Azure container locally, a new
RunAsContainer
method can be called.
For more information: