Skip to main content

Multi-Tenant Profiles

Profiles separate tenant and app settings.

[default]
profile = "client-a"

[profiles.client-a]
auth_app = "oso"
tenant_id = "client-a.onmicrosoft.com"
auth_flow = "device-code"

[profiles.locked-down]
auth_app = "byo"
client_id = "11111111-1111-1111-1111-111111111111"
tenant_id = "22222222-2222-2222-2222-222222222222"

Run commands with --profile client-a.