Working to get Authentication and Authorization working in UA.
My current setup is UA 1.2.1 installed from the MSI
I have UniversalAutomation and UniversalAutomationDashboard services both running under a service account.
I’m looking at the below code and I think I understand all but one piece, the SigningKey
What is the SigningKey, where do I get one, is this something I need to create myself?
$AppToken = Start-UAServer -Port 10000 -JwtSigningKey $SigningKey
$Cache:ComputerName = $ComputerName
if ($null -eq $AppToken)
{
$AppToken = (Enable-UAAuthentication -ComputerName $ComputerName -Force -SigningKey $SigningKey).Token
}
Connect-UAServer -ComputerName $ComputerName -AppToken $AppToken