# Environment Variables for auth0 CLI?

**URL:** <https://community.auth0.com/t/environment-variables-for-auth0-cli/76262>\
**Category:** Get Help\
**Created:** [January 12, 2022, 1:39pm UTC](https://community.auth0.com/t/environment-variables-for-auth0-cli/76262 "2022-01-12T13:39:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephane.wirtel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephane.wirtel/32/33282_2.png) [@stephane.wirtel](https://community.auth0.com/u/stephane.wirtel)\
**Post date:** [January 12, 2022, 1:39pm UTC](https://community.auth0.com/t/environment-variables-for-auth0-cli/76262/1 "2022-01-12T13:39:19Z")

</div>

Hi all,

Excepted if we use `auth0 login` for the authentication and the access\_token for the M2M, is there another way, style, environment variables to set the access\_token. I have checked in the code, and excepted for auth0.v5, there is no info about env var for the `auth0` CLI.

auth0 0.11.3

Thank you

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 14, 2022, 7:58pm UTC](https://community.auth0.com/t/environment-variables-for-auth0-cli/76262/3 "2022-01-14T19:58:10Z")

</div>

Hi @stephane.wirtel

Welcome to the Auth0 Community!

I don’t see anything about env variables in the repo. Can you give us an example of how you would use the env variables?

And to confirm, this is in regard to [GitHub - auth0/auth0-cli: Build, manage and test your Auth0 integrations from the command line](https://github.com/auth0/auth0-cli)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 14, 2022, 6:14pm UTC](https://community.auth0.com/t/environment-variables-for-auth0-cli/76262/4 "2022-03-14T18:14:20Z")

</div>


