Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Assign List and Get policy to a service principal or application in Azure Key Vault
Set-AzureRmKeyVaultAccessPolicy -VaultName $keyVaultName -ResourceGroupName $resourceGroupName `
-ServicePrincipalName 'e9b1bc3c-4769-4a98-9014-b315fd2adf53' `
-PermissionsToCertificates list,get `
-PermissionsToKeys list,get `
-PermissionsToSecrets list,get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment