PowerShell - Display all Access Keys with details
Access Key, Legacy Authentication Username, Registration Key
Script Example
Script
Import-Module ThinscaleManagement
$uri = "uri" #your server uri here
#do not make changes below this section
Get-Credential | Connect-TSTMGMTServer -Uri $uri
$devices = Get-TSTMGMTAccessKeys | Select KeyName, IsLegacyAuthEnabled, LegacyAuthUsername, RegistrationKey
$devices | format-table