-
Would it be possible to create some better examples and link them from the docs pages? I have been struggling with the following:- 1 - Create a key vault - ( that I can reference later) Creating the resources is straightforward, tying them all together I'm finding it tricky having never really used ARM templates before. An example of what I consider poor docs - https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/outputs?tabs=azure-powershell. When using modules the output parameter example is pretty poor, a couple of examples would be much better. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
@johndowns - I wonder if this would be a good one to add to the list of "scenarios"? |
Beta Was this translation helpful? Give feedback.
-
it will create a KeyVault and assign rbac roles for users. It will also create a managed identity and assign rbac role to kv. KeyVault module
rbac assignment module:
User assigned managed identity module:
Deployable file:
parameters file:
|
Beta Was this translation helpful? Give feedback.
-
Thank you all for the above help - is there any examples you know about for creating a managed identity and then assigning azure role assignments to the MI - like I was wondering how to add the role Kevault Administrator to this manage identity for a certain keyvault. Scenarios like this are hard to figure out for me at the moment. |
Beta Was this translation helpful? Give feedback.
-
We have also just made a series of updates to the RBAC scenarios doc to explain some of this more clearly too, and we've created a new quickstart that illustrates how to handle managed identity deletion given the way things work today. |
Beta Was this translation helpful? Give feedback.
Thank you all for the above help - is there any examples you know about for creating a managed identity and then assigning azure role assignments to the MI - like I was wondering how to add the role Kevault Administrator to this manage identity for a certain keyvault.
Scenarios like this are hard to figure out for me at the moment.