Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Last active October 7, 2022 06:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PlagueHO/c430d4f9eafbe4c6d753613365c6b6aa to your computer and use it in GitHub Desktop.
Save PlagueHO/c430d4f9eafbe4c6d753613365c6b6aa to your computer and use it in GitHub Desktop.
Assign List and Get policy to a user in Azure Key Vault
Set-AzureRmKeyVaultAccessPolicy -VaultName $keyVaultName -ResourceGroupName $resourceGroupName `
-UserPrincipalName 'Joe.Boggs@contoso.com' `
-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