Hi, i’m using koyeb cli to init an app with a service. when configuring env variables via the --env flag, how can i declare one of them to use a secret value?
Thanks in advanced
Hi, i’m using koyeb cli to init an app with a service. when configuring env variables via the --env flag, how can i declare one of them to use a secret value?
Thanks in advanced
Hi @cfranchella ,
Indeed that’s a tricky one and it’s not documented.
The answer is to use a @
like this:
koyeb service create myService --app appID --env ENVVAR=@secret --docker myImage
I will check to add it to CLI reference.
Cheers,