Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Command to set access policy on key vault
## key vault name should be updated
## PrincipalId is from output of generate system-assigned identity for web app
az keyvault set-policy --name myKeyVault --object-id <PrincipalId> --secret-permissions get list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment