How to pass environment variables through the command line

Hello!

I’m trying to use the Auth0 Deploy CLI tool and saw that we’re able to pass environment variables when calling a0deploy import with either --env or -e flags but wasn’t sure what the format for that was? I tried things like

-e process.env.AUTH0_DOMAIN=<domain>
-e AUTH0_DOMAIN=<domain>

but those didn’t work.
Does anyone know how to pass environment variables through the command line?

Thanks!
-Shawn

1 Like

Update: I managed to figure it out. To pass environment variables through the command line have it like so
ENV_VAR=<value> a0deploy import -e

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.