Open BryanWilhite opened 5 years ago
from private notes:
The User Name and Password must be combined into a ’claim‘ and then encoded which can be generated on the fly in PowerShell like this:
$claim = '<user name>:<password>' $byteArray = [System.Text.Encoding]::ASCII.GetBytes($claim) $base64String = [System.Convert]::ToBase64String($byteArray)
Azure CLI task - Azure Pipelines & TFS | Microsoft Docs https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-cli?view=vsts
from private notes:
The User Name and Password must be combined into a ’claim‘ and then encoded which can be generated on the fly in PowerShell like this: