Closed Jezour closed 1 year ago
We'll add an optional parameter to specify other clouds (including China) in the next release of the extension. See issue #20
Is there any plan for when we can expect the next release of the extension?
I'm sorry to disturb you again. Is there any update?
v2.0.0 has been released, and includes support for authenticating with Service Principals in Azure clouds other than the Public cloud. In the China cloud, you can pass AzureCloudInstance.AzureChina to ConfigureForAzureWithServicePrincipalAsync()
Please let us know if you see any issues.
I'm sorry for the silly question. I'm not able to use the ConfigureForAzureWithUserAssignedManagedIdentityAsync in AzureChinaCloud cloud. (I'm referring to
az cloud list --output table
) To test the connection via user-defined managed identity I'm using just an easy console c# app like this, and it works on AzurePublic quite ok. Unfortunately, it doesn't work in the AzureChinaCloud or I simply don't know how to use it.test with Accesskey (1 arg)
Connection: [onluatcn.redis.cache.chinacloudapi.cn:6380,password=xxxlI5sv1luTPaLK2xfTqNMm8eM4TDihpAzCaOVkTDQ=,ssl=True,abortConnect=False] it's working quite fine. (redis.IsConnected: [True])
test with System Access Token (2 arg)
It's NOT working. (redis.IsConnected: [False])
test with User managed Access Token (3 arg)
It's NOT working. (redis.IsConnected: [False])
I would expect some switch based on the suffix like '.cache.chinacloudapi.cn' and '.cache.chinacloudapi.cn' but in be hidden also somewhere inside the Microsoft.Identity library.
The question is how should I use the Microsoft.Azure.StackExchangeRedis in AzureChinaCloud with user-defined managed identity. Is there any example where can I find more details? Or can you please put it as an example in the documentation?