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

Read-only Implementation of Managed Identities #933

Merged
merged 23 commits into from
Jan 28, 2025

Conversation

nturinski
Copy link
Member

@nturinski nturinski commented Sep 30, 2024

EDIT: Updated description.

The point of this feature is only to list the managed identities and their relationships with source and target resources. The main reason we want to add this is because other extensions such as Functions and Container Apps will be creating managed identity resources for users, but there wouldn't be a way to see them in the tree without this view.

Definitely plan to expand on the feature set, but having the relationship being shown in a tree view is complicated enough as it is, so it's something that we would want to slowly iterate on with team/customer feedback.

There is a bug right now-- because the scope id I'm using to determine the app type is just an Azure id string, it can't tell the difference between app service and functions.

I could do something like retrieving that resource when we see a Microsoft.site provider, but that kind of seems like overkill at this point.

Old screenshot:
image

New screenshot:
{17CF28EB-95AA-4AB0-8DBB-3F01270EE56F}

@nturinski nturinski marked this pull request as ready for review October 2, 2024 01:02
@nturinski nturinski requested a review from a team as a code owner October 2, 2024 01:02
Copy link
Contributor

@MicroFish91 MicroFish91 left a comment

Choose a reason for hiding this comment

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

Love this new view, going to be super useful for working with identities going forward 🥳

src/managedIdentity/ManagedIdentityBranchDataProvider.ts Outdated Show resolved Hide resolved
src/managedIdentity/RoleDefinitionsItem.ts Outdated Show resolved Hide resolved
src/utils/azureUtils.ts Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

What changed with the icon?

Copy link
Member Author

Choose a reason for hiding this comment

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

I am honestly not entirely sure. I think at one point, I changed the name but I ended up reverting that. 🤔

@nturinski nturinski merged commit b63a2bc into main Jan 28, 2025
3 checks passed
@nturinski nturinski deleted the nat/managedIdentityReadOnly branch January 28, 2025 01:10
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.

3 participants