BryanWilhite / Blog

My source files for my technical Blog entries—an 11ty-based fire hose 🚒 for a static web site
http://songhayblog.azurewebsites.net/
3 stars 0 forks source link

proposed entry: scheduling Azure WebJobs with Logic Apps, invoking a Web Hook #5

Open BryanWilhite opened 5 years ago

BryanWilhite commented 5 years ago

from private notes:

image

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)
BryanWilhite commented 5 years ago

Azure CLI task - Azure Pipelines & TFS | Microsoft Docs https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-cli?view=vsts