Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created September 11, 2023 18:09
Show Gist options
  • Save johnlokerse/6e970e2d60194705dec894ce42b4c8dc to your computer and use it in GitHub Desktop.
Save johnlokerse/6e970e2d60194705dec894ce42b4c8dc to your computer and use it in GitHub Desktop.
Azure Bicep Tips and Tricks Blog
@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