Skip to content

Commit

Permalink
token management custom role fix
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Nov 28, 2024
1 parent 7553285 commit 34b95c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-infrastructure/modules/acr/acr.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ resource roleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
resource tokenManagementRole 'Microsoft.Authorization/roleDefinitions@2022-04-01' = {
name: guid(resourceGroup().id, 'token-creation-role')
properties: {
roleName: 'ACR Manage Tokens'
type: 'customRole'
assignableScopes: [
subscription().id
resourceGroup().id
]
description: 'This role allows the management of tokens in the ACR'
permissions: [
Expand All @@ -77,6 +78,5 @@ resource tokenManagementRole 'Microsoft.Authorization/roleDefinitions@2022-04-01
]
}
]
roleName: 'ACR Manage Tokens'
}
}

0 comments on commit 34b95c6

Please sign in to comment.