Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Created June 3, 2020 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/3f126da48b4315a496357214e21a74a7 to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/3f126da48b4315a496357214e21a74a7 to your computer and use it in GitHub Desktop.
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