From 6e070dc236514b2424e7207955c1e738b651626c Mon Sep 17 00:00:00 2001 From: gkostal Date: Thu, 27 Aug 2020 22:35:29 -0700 Subject: [PATCH] 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 <54836179+msJinLei@users.noreply.github.com> --- .../Attestation/help/Reset-AzAttestationPolicy.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md b/src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md index b80ea9e231c6..c78eeb3c30d0 100644 --- a/src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md +++ b/src/Attestation/Attestation/help/Reset-AzAttestationPolicy.md @@ -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