itay livni
03/16/2021, 10:34 PMPrefectSecret
and coiled
. Posted the question on stack in case somebody else runs into this.
https://stackoverflow.com/questions/66664086/how-does-one-use-prefect-cloud-secrets-with-coileditay livni
03/18/2021, 1:30 AMprefect cloud
auth token to coiled
? I am getting client authentication type errors using PrefectSecrets
-- which in previous deployments did not occur i.e. ECS. coiled
is weird since its both execution and run config (IMO). -- Thanks againChris White
itay livni
03/18/2021, 1:47 AMitay livni
03/19/2021, 6:48 PMcontext
(1) Putting [context]
in the ~/.prefect/config.toml
with the auth_token
-- so context is global (per the docs) (2) Various attempt at with statements.
Other approaches I tried include using the upload_file("~/.prefect/config.toml")
in the dask executor configuration client kwargs. Which if I could get it to work would be the most elegant in my use case.
Thanks again for all your helpChris White
[cloud]
auth_token = "XXX"
should work thoughitay livni
03/19/2021, 6:57 PMitay livni
03/19/2021, 7:13 PM