microsoft / tyger

Remote signal processing.
https://microsoft.github.io/tyger/
MIT License
22 stars 7 forks source link

Add option to display service metadata #128

Closed johnstairs closed 2 months ago

johnstairs commented 2 months ago
tyger login status --format json

will display connection and service metadata in JSON format:

{
  "serverUri": "https://abc-tyger.westus2.cloudapp.azure.com",
  "principal": "api://tyger-test-client",
  "metadata": {
    "authority": "https://login.microsoftonline.com/76d3279b-830e-4bea-baf8-12863cdeba4c",
    "audience": "api://tyger-server",
    "cliAppUri": "api://tyger-cli",
    "capabilities": [
      "NodePools",
      "DistributedRuns"
    ]
  }
}