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

Cloud Shell doesn't support user assigned identities #20142

Closed
chlowell opened this issue Jan 31, 2022 · 2 comments · Fixed by #20226
Closed

Cloud Shell doesn't support user assigned identities #20142

chlowell opened this issue Jan 31, 2022 · 2 comments · Fixed by #20226
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Milestone

Comments

@chlowell
Copy link
Member

Cloud Shell's token endpoint ignores unexpected parameters and always authenticates the signed in user. This means that when ManagedIdentityCredential requests a token for a user assigned identity, Cloud Shell returns a token for the signed in user instead. The credential should therefore throw an authentication failed exception when asked to get a token for a user assigned identity in Cloud Shell.

@chlowell chlowell added Client This issue points to a problem in the data-plane of the library. Azure.Identity labels Jan 31, 2022
@sadasant sadasant added this to the [2022] February milestone Jan 31, 2022
@KarishmaGhiya
Copy link
Member

As decided, Throwing an exception will tie the client side behaviour to Service side impl details, if they change impl on service side in future, our logic of throwing exceptions can break. Instead, we will do some logging here to warn users on known targeted platforms and add some details to docs too.

@KarishmaGhiya
Copy link
Member

Fixed by #20226

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
None yet
3 participants