YD
08/23/2021, 4:46 PMteam
option in flow.register
.
is it when you create the project in the cloud UI?
what happens if one team create a project with the same name as a different team ?nicholas
YD
08/23/2021, 11:34 PMnicholas
tenant
object does exist. For Cloud you can register them by using an API key from that Team. When you do that, you can create projects in different teams that have the same name.YD
08/24/2021, 5:35 PMnicholas
YD
08/25/2021, 4:59 PMconfig.toml
and how to register the flows to the different teams?
Even in the same team, how do I register flows to different users ?YD
08/25/2021, 5:03 PMnicholas
prefect agent start -k <<API_KEY>>
which would authenticate it with whatever team is using it.
When registering flows, you would call prefect auth login -k <<API_KEY>>
(for users belong to multiple teams they would want to use a user api key which would allow them to access whichever team they need) and switch/list teams with prefect auth list-tenants
and prefect-auth switch-tenants --slug/--id <<slug or id>>
nicholas
YD
08/25/2021, 6:50 PMnicholas
YD
08/25/2021, 7:31 PMDarren
08/25/2021, 7:35 PMDarren
08/25/2021, 7:37 PMDarren
08/25/2021, 7:37 PMnicholas
export PREFECT__USER_CONFIG_PATH="path to team-specific config containing keys"