Guest User

Untitled

a guest
Aug 25th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. $me = Get-AzureRmADUser -SearchString "your name"
  2. Set-AzureRmKeyVaultAccessPolicy `
  3. -VaultName $VaultName `
  4. -ResourceGroupName $ResourceGroupName `
  5. -UserPrincipalName $me.UserPrincipalName `
  6. -PermissionsToKeys all `
  7. -PermissionsToSecrets all
Add Comment
Please, Sign In to add comment