-
-
Save johnlokerse/6e970e2d60194705dec894ce42b4c8dc to your computer and use it in GitHub Desktop.
Azure Bicep Tips and Tricks Blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@description('Required. Name of the Azure Key Vault resource.') | |
param parKeyVaultName string | |
@description(''' | |
**Optional**. An access policy array that contains identities with specified permissions. | |
This parameter expects the following format: | |
```[ | |
{ | |
tenantId: 'tenantId' | |
objectId: 'objectId' | |
permissions: { | |
keys: [ | |
'get' | |
] | |
secrets: [ | |
'list' | |
'get' | |
] | |
} | |
} | |
] | |
``` | |
''') | |
param parAccessPolicies array = [ | |
{ | |
tenantId: tenant().tenantId | |
objectId: '18849fec-d7c8-4673-b00c-551863cd1329' | |
permissions: { | |
keys: [ | |
'get' | |
] | |
secrets: [ | |
'list' | |
'get' | |
] | |
} | |
} | |
] | |
... truncated Key Vault resource creation ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment