-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Azure: Support authentication using user-assigned managed identity #4636
Azure: Support authentication using user-assigned managed identity #4636
Conversation
0cdb87d
to
e6e1f7a
Compare
Adds support for [user-assigned managed identity](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview#managed-identity-types). When using the `user_assigned_id` the change does not require setting `msi_resource` it defaults to `https://<storage account name>.<endpoint>` unless the config explicitly sets the `msi_resource`. Tested against Azure. Signed-off-by: Amr Hanafi (MAHDI)) <amrh@microsoft.com>
e6e1f7a
to
0b2a54a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah this is nice. Explains the different auth methods much better than I could figure out from the MS docs lol. Readme is spot on and makes a lot of sense. Just a little nitpick/suggestion on the code logic.
Signed-off-by: Amr Hanafi (MAHDI)) <amrh@microsoft.com>
c08c91a
to
29c3943
Compare
@bwplotka Hoping this can get on the 0.23 release train :) |
Signed-off-by: Amr Hanafi (MAHDI)) <amrh@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…hanos-io#4636) * Azure: Support authentication using user-assigned managed identity Adds support for [user-assigned managed identity](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview#managed-identity-types). When using the `user_assigned_id` the change does not require setting `msi_resource` it defaults to `https://<storage account name>.<endpoint>` unless the config explicitly sets the `msi_resource`. Tested against Azure. Signed-off-by: Amr Hanafi (MAHDI)) <amrh@microsoft.com> * refactor service token fetch into own method Signed-off-by: Amr Hanafi (MAHDI)) <amrh@microsoft.com> * do not use deprecated method Signed-off-by: Amr Hanafi (MAHDI)) <amrh@microsoft.com>
Adds support for user-assigned managed identity.
When using the
user_assigned_id
the change does not require settingmsi_resource
it defaults tohttps://<storage account name>.<endpoint>
unless the config explicitly sets themsi_resource
.Tested against Azure.
Changes
Verification