Skip to content

Commit c046df4

Browse files
committed
mask password in example
1 parent 38ccfd4 commit c046df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Accounts/Accounts/help/Connect-AzAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ This example connects to an Azure account using certificate-based service princi
265265
The certificate file, which is specified by `CertficatePath`, should contains both certificate and private key as the input.
266266

267267
```powershell
268-
$SecurePassword = ConvertTo-SecureString -String "Password123!" -AsPlainText -Force
268+
$SecurePassword = ConvertTo-SecureString -String "******" -AsPlainText -Force
269269
$TenantId = 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyy'
270270
$ApplicationId = 'zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzz'
271271
Connect-AzAccount -ServicePrincipal -ApplicationId $ApplicationId -TenantId $TenantId -CertificatePath './certificatefortest.pfx' -CertificatePassword $securePassword

0 commit comments

Comments
 (0)