https://github.com/lenisha/cosmosdb-java-mi
CosmosDB App with SQL API and ManagedIdentity Auth
https://github.com/lenisha/cosmosdb-java-mi
Last synced: 2 months ago
JSON representation
CosmosDB App with SQL API and ManagedIdentity Auth
- Host: GitHub
- URL: https://github.com/lenisha/cosmosdb-java-mi
- Owner: lenisha
- Created: 2022-01-24T16:12:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T21:18:59.000Z (9 months ago)
- Last Synced: 2024-10-18T06:16:17.799Z (8 months ago)
- Language: Java
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cosmosdb-java-mi
CosmosDB App with SQL API and ManagedIdentity Auth## References
- https://github.com/Azure-Samples/azure-spring-boot-samplesresourceGroupName=winauth
accountName=cosmosmi
roleDefinitionId=00000000-0000-0000-0000-000000000002
principalId=6e2a077f-4416-424d-bbe3-59116dcb1de4
az cosmosdb sql role assignment create --account-name $accountName --resource-group $resourceGroupName --scope "/" --principal-id $principalId --role-definition-id $roleDefinitionId