Skip to content

Commit e2c6bb2

Browse files
authored
Mask password value in Run-ALPipeline logs (#3373)
While the password is harmless, it's undesirable to have secrets in logs.
1 parent c3d199f commit e2c6bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AppHandling/Run-AlPipeline.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ if ($credential) {
668668
}
669669
else {
670670
$password = GetRandomPassword
671-
Write-Host "admin/$password"
671+
Write-Host "Username: admin, Password: ***"
672672
$credential= (New-Object pscredential 'admin', (ConvertTo-SecureString -String $password -AsPlainText -Force))
673673
}
674674
Write-Host -NoNewLine -ForegroundColor Yellow "CompanyName "; Write-Host $companyName

0 commit comments

Comments
 (0)