We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 735e69a commit cb3b0ddCopy full SHA for cb3b0dd
tools/ci_build/github/azure-pipelines/templates/publish-symbolrequestprod-api.yml
@@ -68,7 +68,7 @@ steps:
68
69
# Convert the SecureString token to a plain text string for the HTTP header
70
# This is done just-in-time before its use.
71
- $plainTextToken = $secureTokenObject | ConvertFrom-SecureString -AsPlainText
+ $plainTextToken = [System.Net.NetworkCredential]::new("", $secureTokenObject).Password
72
Write-Host "Token converted to plain text for API call (will not be logged)."
73
74
# Part 2: Publish Symbols using internal REST API
0 commit comments