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

Allow TokenCredential authentication in CosmosDbPartitionedStorage #6560

Closed
xelossan opened this issue Nov 20, 2022 · 0 comments · Fixed by #6614
Closed

Allow TokenCredential authentication in CosmosDbPartitionedStorage #6560

xelossan opened this issue Nov 20, 2022 · 0 comments · Fixed by #6614
Assignees
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@xelossan
Copy link

Currently in order to use CosmosDbPartitionedStorage as a bot state out-of-the-box, it's required to use the CosmosDB authentication key.
CosmosClient allows using TokenCredential instead, so CosmosDbPartitionedStorage should allow this as well.

@xelossan xelossan added feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team. labels Nov 20, 2022
@ceciliaavila ceciliaavila self-assigned this Mar 30, 2023
tracyboehrer pushed a commit that referenced this issue Apr 21, 2023
…orage (#6614)

* add tokenCredential auth

* add TokenCredential to CosmosDbPartitionedStorageOptions

* remove unnecessary using

---------

Co-authored-by: JhontSouth <jhonatan.sandoval@southworks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
2 participants