Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

How can you check that an identity has been correctly applied? #1249

Answered by aramase
dhirschfeld asked this question in Q&A
Discussion options

You must be logged in to vote

I've got a container which I have assigned an aadpodidentity label to match an AzureIdentity identity object in my cluster which references a Managed Identity which has been assigned permission to access a database.

The label required on the pod is aadpodidbinding. If that's not the label set, then MIC will not assign the identity for the pod.

From within the pod, how can I check that that the Azure identity really is the one implied by the pod label?

You can check the status of the AzureAssignedIdentity if using pod identity in standard mode (MIC and NMI deployed). The AzureAssignedIdentity name format is <pod name>-<namespace>-<azure identity name>. The status field in AzureAssigned…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dhirschfeld
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants