Skip to content

Commit 6e070dc

Browse files
gkostalmsJinLei
andauthored
Add isolated trust model example to the documentation for the Reset_AzAttestationPolicy 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]>
1 parent ee0497e commit 6e070dc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ PS C:\> Reset-AzAttestationPolicy -Name pshtest -ResourceGroupName psh-test-rg -
3636

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

39+
### Example 2
40+
```powershell
41+
PS C:\> $resetJwt = Get-Content -Path .\reset.policy.txt.signed.txt
42+
PS C:\> Reset-AzAttestationPolicy -Name pshtest -ResourceGroupName psh-test-rg -Tee SgxEnclave -Policy $resetJwt
43+
```
44+
45+
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.
46+
3947
## PARAMETERS
4048

4149
### -DefaultProfile

0 commit comments

Comments
 (0)