Skip to content

Removed usermanaged identity from managed identity credential as Syst…#99

Merged
vandanakvs merged 3 commits into
mainfrom
users/prnikumb/defaultCredential
Jun 4, 2025
Merged

Removed usermanaged identity from managed identity credential as Syst…#99
vandanakvs merged 3 commits into
mainfrom
users/prnikumb/defaultCredential

Conversation

@prnikumb123
Copy link
Copy Markdown

…em identity is used in the app service

Comment thread src/service/API/Program.cs Outdated
credential = new ManagedIdentityCredential(
ManagedIdentityId.FromUserAssignedClientId(builtConfig["UserAssignedClientId"]));
#endif
#if DEBUG
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can we add a common function?
In future if we have to update this code, it should be only one place

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done

@vandanakvs vandanakvs merged commit b42d5ad into main Jun 4, 2025
1 of 2 checks passed
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.

4 participants