how can I access the prefect cloud graphql api using an api key? Do I somehow create a jwt token from the api key?
k
Kevin Kho
08/24/2021, 10:15 PM
If you use the interactive API in the UI, it’s already authenticated. If using the Prefect Client Python object, it fetches whatever authentication is stored from
Copy code
prefect auth login --key <YOUR-KEY>
but if the key is not persisted, the Client can take in an API key
a
Arun Dass
08/24/2021, 10:17 PM
say i am creating a new UI and want to access the cloud api from the new UI
Arun Dass
08/24/2021, 10:18 PM
im looking at the network tab on my browser and it shows a bearer token
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.