Pass an Authorization: Bearer $TOKEN to access the PREFECT_API_URL with prefect CLI

hello !

I’ve deployed an authentification system on top of my prefect ui

My problem is that the prefect CLI can’t connect to the PREFECT_API_URL anymore, because of this authentification system…

I can generate a token to authenticate. Is it possible to specify it with the PREFECT_API_URL ? with something like PREFECT_API_TOKEN ?

Thanks a lot :slight_smile:

1 Like