feat: adds support for user-assigned managed identities #2678
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will allow for using user-assigned managed identities when both the bool UseMsi and the ClientId are specified.
Note, this matches the pattern for the az cli login:
az login --identity --username <client_id|object_id|resource_id>
(https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-managed-identity)I'd also be happy to update the docs. I'm not sure what your testing regime is like?