Skip to content

Instantly share code, notes, and snippets.

@kpatnayakuni
Last active February 4, 2020 11:06
Show Gist options
  • Save kpatnayakuni/dbf4c0bb84e3640f716f37ee8ae4fb91 to your computer and use it in GitHub Desktop.
Save kpatnayakuni/dbf4c0bb84e3640f716f37ee8ae4fb91 to your computer and use it in GitHub Desktop.
# Grant GET permissions to secrets on Key Key Vault to managed identity
Set-AzKeyVaultAccessPolicy -ResourceGroupName $rgName -VaultName $keyVaultName `
-ServicePrincipalName $identity.ClientId -PermissionsToSecrets get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment