Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Specify full privileges to the vault for the application
- Write-Host "Setting access policy"
- Set-AzureRmKeyVaultAccessPolicy -VaultName $vaultName `
- -ObjectId $servicePrincipal.Id `
- -PermissionsToKeys all `
- -PermissionsToSecrets all `
- -PermissionsToCertificate all `
- WARNING: The 'all' permission will be removed in May 2018 and does not include the 'purge' permission.
- 'Purge' permission must be explicitly set.
Add Comment
Please, Sign In to add comment