You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds the CosmosDB authentication method through TokenCredential in CosmosDbPartitionedStorage.
Specific Changes
Upgraded Microsoft.Azure.Cosmos package from 3.15.1 to 3.32.2 to get the CosmosClient constructor that uses TokenCredential.
Added TokenCredential property to CosmosDbPartitionedStorageOptions class.
Updated validation to throw if AuthKey and TokenCredential properties are null.
Added the alternative to create a CosmosClient using the TokenCredential if provided.
Testing
The following image shows the information saved in CosmosDB after creating the client using Azure credentials.
The text was updated successfully, but these errors were encountered:
ceciliaavila
added
bug
Indicates an unexpected problem or an unintended behavior.
parity
The issue describes a gap in parity between two or more platforms.
labels
Apr 27, 2023
The changes in [#6560] Allow TokenCredential authentication in CosmosDbPartitionedStorage may need to be ported to maintain parity with microsoft/botbuilder-dotnet.
The text was updated successfully, but these errors were encountered: