Chris L.
07/30/2021, 7:42 AMRUN prefect auth login --key ${PREFECT__CLOUD__API_KEY}
where `PREFECT__CLOUD__API_KEY`` is an ARG. But I'm getting this error:
#13 1.047 Your API key is set in the Prefect config instead of with the CLI. To log in with the CLI, remove the config key `prefect.cloud.api_key`
Kevin Kho
config.toml
and does it have some authentication key already?Kevin Kho
prefect auth logout
Chris L.
07/30/2021, 2:41 PM> [ 9/10] RUN prefect auth logout:
#13 1.232 Your API key is set in the Prefect config instead of with the CLI. To log out, remove the config key `prefect.cloud.api_key`
Chris L.
07/30/2021, 2:42 PMconfig.toml
config.toml
. Does prefect create it upon pip install
? Anyhow, I shall create one but where should I copy it into the image? Thanks KevinKevin Kho
home_directory/.prefect
is where you want to put it. are you sure you aren’t already authenticated in that image?Chris L.
07/30/2021, 3:11 PMARG
, so I am authenticated during the build-stage but not in the running container.Chris L.
07/30/2021, 3:12 PMARG
to a different name than PREFECT__CLOUD__API_KEYKevin Kho
PREFECT__CLOUD__API_KEY
in the container which prevents us to setting itChris L.
07/30/2021, 4:18 PMKevin Kho
Dockerfiles
of other people, but I’ll keep this in mind and ask next time I see one.Chris L.
07/30/2021, 4:20 PMChris L.
07/30/2021, 4:20 PMKevin Kho
Chris L.
07/30/2021, 4:21 PMKevin Kho