Skip to content

Commit

Permalink
Add isolated trust model example to the documentation for the Reset_A…
Browse files Browse the repository at this point in the history
…zAttestationPolicy cmdlet (#12789)

* Added example for Reset_AzAttestationPolicy for the isolated trust model

* Update ChangeLog.md

Remove changelog.md since the PR only contains document update so that we don't need a new release for document update only.

Co-authored-by: Jin Lei <[email protected]>
  • Loading branch information
gkostal and msJinLei authored Aug 28, 2020
1 parent ee0497e commit 6e070dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ PS C:\> Reset-AzAttestationPolicy -Name pshtest -ResourceGroupName psh-test-rg -

Reset the policy to the default for the Attestation Provider *pshtest* for Tee type *SgxEnclave*.

### Example 2
```powershell
PS C:\> $resetJwt = Get-Content -Path .\reset.policy.txt.signed.txt
PS C:\> Reset-AzAttestationPolicy -Name pshtest -ResourceGroupName psh-test-rg -Tee SgxEnclave -Policy $resetJwt
```

If the Attestation Provider *pshtest* is configured to use the isolated trust model, reset the policy to the default for Tee type *SgxEnclave* by including a signed policy.

## PARAMETERS

### -DefaultProfile
Expand Down

0 comments on commit 6e070dc

Please sign in to comment.