Matt Delacour
07/28/2022, 8:17 PMSince API keys can be used across tenants if linked to a user account, you may also pass a tenant:
https://docs-v1.prefect.io/orchestration/concepts/api.html#authenticating-the-client-with-cloudWhat are the difference between "Tenants" and "Workspaces"? I might not fully understand those 2 keywords the right way
James Sopkin
07/28/2022, 8:27 PMMatt Delacour
07/28/2022, 8:28 PMJames Sopkin
07/28/2022, 8:34 PMMatt Delacour
07/28/2022, 8:35 PMrather you would invite that single user to multiple tenantsHow is that achievable?
James Sopkin
07/28/2022, 8:37 PMMatt Delacour
07/28/2022, 8:41 PMprefect auth login
This is why I don't understand how I could make prefect auth switch-tenants
working 🤷James Sopkin
07/28/2022, 8:55 PMprefect auth switch-tenants.
It should work if your user is invited to the tenant and you accept the invite. I think the tenant that you select is just the default tenantMatt Delacour
07/28/2022, 8:58 PMJames Sopkin
07/28/2022, 9:07 PMMatt Delacour
07/28/2022, 9:08 PMJames Sopkin
07/28/2022, 9:17 PMprefect auth login -k {proto-tenant key}
prefect auth list-tenants
Matt Delacour
07/28/2022, 9:21 PM{proto-tenant key}
?James Sopkin
07/28/2022, 9:22 PMMatt Delacour
07/28/2022, 9:28 PMJames Sopkin
07/28/2022, 9:35 PMprefect auth switch-tenant
though. Try switching tenants now, it should work