Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BULK] - DocuTune remediation - Sensitive terms with GUIDs (part 23) #3390

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azps-13.0.0/Az.KeyVault/Get-AzKeyVaultRandomNumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This command gets 10 random bytes as base-64 string from managed HSM "testmhsm"

### Example 3: Get random number by resource id
```powershell
Get-AzKeyVaultRandomNumber -ResourceId /subscriptions/0b1fxxxx-xxxx-xxxx-aec3-xxxx72f09590/resourceGroups/test-rg/provders/Microsoft.KeyVault/managedHSMs/testhsm -Count 10
Get-AzKeyVaultRandomNumber -ResourceId /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/test-rg/provders/Microsoft.KeyVault/managedHSMs/testhsm -Count 10
```

```output
Expand Down
4 changes: 2 additions & 2 deletions azps-13.0.0/Az.KeyVault/New-AzKeyVaultManagedHsm.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ New-AzKeyVaultManagedHsm -Name 'myhsm' -ResourceGroupName 'myrg1' -Location 'eas
Managed HSM Name : myhsm
Resource Group Name : myrg1
Location : eastus2euap
Resource ID : /subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/bez-rg/pro
Resource ID : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/bez-rg/pro
viders/Microsoft.KeyVault/managedHSMs/bezmhsm
HSM Pool URI :
Tenant ID : 00001111-aaaa-2222-bbbb-3333cccc4444
Tenant ID : aaaabbbb-0000-cccc-1111-dddd2222eeee
Initial Admin Object Ids : {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
SKU : StandardB1
Soft Delete Enabled? : True
Expand Down
2 changes: 1 addition & 1 deletion azps-13.0.0/Az.KeyVault/Remove-AzKeyVaultAccessPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ This example identifies the application by using the service principal name regi

### Example 3: Remove permissions for an application by using its object ID
```powershell
Remove-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ObjectID 00001111-aaaa-2222-bbbb-3333cccc4444
Remove-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ObjectID aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
```

This command removes all the permissions that an application has on the key vault named Contoso03Vault.
Expand Down
2 changes: 1 addition & 1 deletion azps-13.0.0/Az.KeyVault/Set-AzKeyVaultAccessPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ This example specifies the service principal name `http://payroll.contoso.com`,

### Example 3: Grant permissions for an application using its object ID
```powershell
Set-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ObjectId 00001111-aaaa-2222-bbbb-3333cccc4444 -PermissionsToSecrets Get,Set
Set-AzKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb -PermissionsToSecrets Get,Set
```

This command grants the application permissions to read and write secrets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Undo-AzKeyVaultManagedStorageAccountRemoval -VaultName myVault -Name myAccount
Id : https://myvault.vault.azure.net:443/storage/myaccount
Vault Name : myVault
AccountName : myAccount
Account Resource Id : /subscriptions/8bc48661-1801-4b7a-8ca1-6a3cadfb4870/resourceGroups/myrg/providers/Microsoft.St
Account Resource Id : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/myrg/providers/Microsoft.St
orage/storageAccounts/myaccount
Active Key Name : key2
Auto Regenerate Key : False
Expand Down
4 changes: 2 additions & 2 deletions azps-13.0.0/Az.KeyVault/Update-AzKeyVaultManagedHsm.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ Update-AzKeyVaultManagedHsm -Name $hsmName -ResourceGroupName $resourceGroupName
Managed HSM Name : testmhsm
Resource Group Name : test-rg
Location : eastus
Resource ID : /subscriptions/xxxxxx71-1bf0-4dda-aec3-xxxxxxxxxxxx/resourceGroups/test-rg/provide
Resource ID : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/test-rg/provide
rs/Microsoft.KeyVault/managedHSMs/testmhsm
HSM Pool URI :
Tenant ID : 54xxxxxx-38d6-4fb2-bad9-xxxxxxxxxxxx
Tenant ID : aaaabbbb-0000-cccc-1111-dddd2222eeee
Initial Admin Object Ids : {xxxxxx9e-5be9-4f43-abd2-xxxxxxxxxxxx}
SKU : StandardB1
Soft Delete Enabled? : True
Expand Down