Skip to content

Assigning RBAC via Role Assignment Module #5678

Answered by JFolberth
JFolberth asked this question in Q&A
Discussion options

You must be logged in to vote

So I ended up taking thoughts from a few folks and leveraged modules to handle nesting each loops. Did this as wanted the parameter file to be simpler for maintenance/scalability. This as of now is only for the subscription.

parameters.json:

    "parameters": {
        "roleAssignmentInfo":{
          "value":{
            "assignments":[
              {
                "principalID": "1336b403-6998-4b87-8bfe-b9d059095b60", //OST WGO Developers
                "principalType": "Group",
                "roleIDs": [
                    "b24988ac-6180-42a0-ab88-20f7382dd24c", // Contributors
                    "00482a5a-887f-4fb3-b363-3b7fe8e74483" // Key Vault Admin
                ]
     …

Replies: 4 comments 17 replies

Comment options

You must be logged in to vote
4 replies
@JFolberth
Comment options

@bansioza44
Comment options

@brwilkinson
Comment options

@davidkarlsen
Comment options

Comment options

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

@brwilkinson
Comment options

@JFolberth
Comment options

@JFolberth
Comment options

@brwilkinson
Comment options

Comment options

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

Comment options

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

@JFolberth
Comment options

Answer selected by JFolberth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #5669 on January 19, 2022 21:52.