Skip to content

Commit ff51bf5

Browse files
committed
false positive credscan
1 parent 806425e commit ff51bf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/VirtualNetworkGatewayTests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ param
200200
Assert-AreEqual "RouteBased" $expected.VpnType
201201

202202
# Update P2S VPNClient Configuration
203+
#[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
203204
$Secure_String_Pwd = ConvertTo-SecureString "TestRadiusServerPassword" -AsPlainText -Force
204205
Set-AzureRmVirtualNetworkGatewayVpnClientConfig -VirtualNetworkGateway $expected -VpnClientAddressPool 200.168.0.0/16 -RadiusServerAddress "TestRadiusServer" -RadiusServerSecret $Secure_String_Pwd
205206
$expected = Get-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname

0 commit comments

Comments
 (0)