i am hosting prefect's orion server on my K8s cluster and im finding dificulties to connect prefect cli to the remote orion server. Also, how does the connection work? Does anyone with my domain name that is hosting my orion uri api have the ability to send request to it? as this would be a security concern for us. Any guiides/ tutorials or videos are highly appreciated.
Thanks in advance.
sorry for the bother anna, but i do set my orion settings to have a PREFECT_API_KEY yet i can send requests to the API without actually setting the PREFECT_API_KEY at the remote settings. How can i make the the API_KEY required to actually execute the api request
09/06/2022, 5:56 PM
Could you elaborate a bit more on what do you mean by making it required?
09/07/2022, 9:48 AM
We have an orion instance hosted on our kubernetes cluster through a domain (lets say "abc.bleed.com"). if i set the PREFECT_API_URL to "abc.bleed.com/api" on my local computer to send requests to the K8s hosted orion, the request is executed without the proper PREFECT_API_KEY set on my local prefect instance. So my question would be, is there a way to make the K8s hosted orion instance require my local computer prefect instance to have to have the PREFECT_API_KEY set to the correct value that is set in the K8s orion instance
I just want to figure out how I can authenticate my requests to the self hosted orion server via API_KEY to prevent any one that knows my domain name to send requests to it and cause a workload for my k8s nodes (this our security concern)
09/09/2022, 11:03 PM
this is hard because you would need to figure out some auth layer, which you get automatically when using Cloud - perhaps for PoC, you can start with Cloud and then figure that out if/when needed