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

Added support for authentication with Azure AD #33

Merged
merged 2 commits into from
Jun 24, 2021
Merged

Added support for authentication with Azure AD #33

merged 2 commits into from
Jun 24, 2021

Conversation

ItalyPaleAle
Copy link
Contributor

This PR adds support for authenticating with Cosmos DB using Azure AD: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac

Docs have been updated to provide an example too.

Copy link
Owner

@a8m a8m left a comment

Choose a reason for hiding this comment

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

Thanks for adding this @ItalyPaleAle

@a8m a8m merged commit 9232146 into a8m:master Jun 24, 2021
@ItalyPaleAle
Copy link
Contributor Author

Thank you for the quick review @a8m! Are you also planning a release in the next days?

@ItalyPaleAle ItalyPaleAle deleted the azuread-auth branch June 25, 2021 01:40
a8m pushed a commit that referenced this pull request Jun 25, 2021
Use an interface for the SP provider object to avoid adding "github.com/Azure/go-autorest/autorest/adal" as a dependency to this module
Also, fixed test that was leftover from before.
Improves upon #33
@ItalyPaleAle
Copy link
Contributor Author

@a8m do you think you could publish a release in the next few days please? With Go modules, we kind of need a release to pull the latest code :)

@a8m
Copy link
Owner

a8m commented Jul 9, 2021

Done. Thanks for the reminder and for your contribution 🙏

With Go modules, we kind of need a release to pull the latest code :)

For next time, you can use go get github.com/a8m/documentdb@master if you're blocked on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants