Skip to content

Assign RBAC role to Key Vault in other Resource Group (same subscription) #4793

Answered by brwilkinson
thepaulmacca asked this question in Q&A
Discussion options

You must be logged in to vote

I see, did you try adding the scope to the userAssignedIdentities existing resource reference?

Another way to get the objectId that you need is to pull it directly from AKS.

https://github.com/brwilkinson/AzureDeploymentFramework/blob/53492685ef6b86070d97cc46d40efb7946f95508/ADF/bicep/AKS-AKS-RBAC.bicep#L44

AKS.properties.addonProfiles.IngressApplicationGateway.identity.objectId

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@thepaulmacca
Comment options

Comment options

You must be logged in to vote
10 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

@thepaulmacca
Comment options

@thepaulmacca
Comment options

@brwilkinson
Comment options

Answer selected by thepaulmacca
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