Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[azure-cosmos-db] Add ability to use credentials instead of token for access to DB #4783

Merged
merged 2 commits into from
Feb 4, 2024

Conversation

abudevich
Copy link
Contributor

No description provided.

@abudevich abudevich requested a review from a team as a code owner February 1, 2024 15:52
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (40163e1) 97.41% compared to head (0512c1d) 97.40%.
Report is 10 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4783      +/-   ##
============================================
- Coverage     97.41%   97.40%   -0.01%     
- Complexity     6587     6826     +239     
============================================
  Files           918      918              
  Lines         18964    18986      +22     
  Branches       1265     1269       +4     
============================================
+ Hits          18474    18494      +20     
- Misses          384      385       +1     
- Partials        106      107       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abudevich abudevich force-pushed the azure-cosmos-rba branch 2 times, most recently from 26ff75a to 3004428 Compare February 1, 2024 20:30
@abudevich abudevich force-pushed the azure-cosmos-rba branch 2 times, most recently from 3ffe2ee to 01579b9 Compare February 2, 2024 11:57
@abudevich abudevich changed the title [azure-cosmos-db] RBA for interaction with DB [azure-cosmos-db] Add ability to use credentials instead of token for access to DB Feb 2, 2024
Comment on lines 75 to 76
[IMPORTANT]
In case if `account-key` was not provided in properties, will be used https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#defaultazurecredential[DefaultAzureCredential mechanism] for authentication.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. put this info to the place where key is defined
  2. reuse this partial: https://github.com/vividus-framework/vividus/blob/master/docs/modules/plugins/partials/azure-authentication.adoc (feel free to improve it if needed)

@abudevich abudevich force-pushed the azure-cosmos-rba branch 2 times, most recently from 7ac1db5 to 8ef7784 Compare February 2, 2024 14:43
@valfirst valfirst merged commit 97c3d67 into vividus-framework:master Feb 4, 2024
7 of 8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants