-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fixed incorrect IMDS resource ID query parameter #7488
base: dev
Are you sure you want to change the base?
Conversation
@@ -38,7 +38,7 @@ import { | |||
export const ManagedIdentityUserAssignedIdQueryParameterNames = { | |||
MANAGED_IDENTITY_CLIENT_ID: "client_id", | |||
MANAGED_IDENTITY_OBJECT_ID: "object_id", | |||
MANAGED_IDENTITY_RESOURCE_ID: "mi_res_id", | |||
MANAGED_IDENTITY_RESOURCE_ID: "msi_res_id", |
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.
The bug states that this change should only be done for IMDS, not for all sources.
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.
Also, pls take the time to improve your tests. The fact that you make a change like this and no test breaks is sign that code coverage can be improved.
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.
Isn't this change desirable to more than just IMDS?
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.
It seems that only IMDS documents this as "msi_res_id" and the rest do not. App service does not. Not sure about the others.
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.
Actually, for "the others", only Machine Learning is applicable, and we assume it follows IMDS's "msi_res_id", too.
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.
Only IMDS needs this.
#7487
Tests don't need to be updated.