Skip to content

Instantly share code, notes, and snippets.

@kpatnayakuni
Created February 4, 2020 08:44
Show Gist options
  • Save kpatnayakuni/84facfd206faf94a180e1243100a3a1f to your computer and use it in GitHub Desktop.
Save kpatnayakuni/84facfd206faf94a180e1243100a3a1f to your computer and use it in GitHub Desktop.
# Grant Reader role to Managed Identity on Key Vault
$null = New-AzRoleAssignment -ApplicationId $identity.ClientId `
-RoleDefinitionName Reader -Scope $keyVault.ResourceId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment