# Understand Auth0 CLI --export\_ids parameter

**URL:** <https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030>\
**Category:** Get Help\
**Tags:** cli\
**Created:** [August 16, 2021, 9:22pm UTC](https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030 "2021-08-16T21:22:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome.piquet](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerome.piquet/32/31171_2.png) [@jerome.piquet](https://community.auth0.com/u/jerome.piquet)\
**Post date:** [August 16, 2021, 9:22pm UTC](https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030/1 "2021-08-16T21:22:29Z")

</div>

Hello,

I need to clearly understand the purpose of the --export\_ids when its used with the export command of the CLI. And what it implies when the ids are present when I make an import of the tenant’s configuration.  
I have seen in the history of CLI that this function was initially implicit and then became explicit.

In which case have we the need to use this parameter?  
Am I totally safe if I dont use this option in a CI/CD flow?

Thanks for your help!  
Jérôme

---

<div class="post-metadata">

**Author:** ![marcus.baker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcus.baker/32/8586_2.png) [@marcus.baker](https://community.auth0.com/u/marcus.baker)\
**Post date:** [August 17, 2021, 1:36am UTC](https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030/2 "2021-08-17T01:36:12Z")

</div>

Hi!

the --export\_ids option is useful if you want to export a copy of your tenant configuration with the IDs for clients, rules, and hooks etc.

For doing exports and deployments to different tenants you would not want to export the ids.

There is a comment about this in our Directory Example Readme:

```auto
The config value `AUTH0_EXPORT_IDENTIFIERS: true` (or `--export_ids` option) can be used to export the identifier fields to the Auth0 objects. 
This means you won't be able to import these objects as the tool cannot find the existing objects by their id.

```

From this page:

> <https://github.com/auth0/auth0-deploy-cli/blob/bc311a731005a9a8eb1720016da497919b96bbf5/examples/directory/README.md#example-export>

Hope this helps!

---

<div class="post-metadata">

**Author:** ![jerome.piquet](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerome.piquet/32/31171_2.png) [@jerome.piquet](https://community.auth0.com/u/jerome.piquet)\
**Post date:** [August 17, 2021, 7:43am UTC](https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030/3 "2021-08-17T07:43:21Z")

</div>

Hello Marcus and thanks for this informations!  
Regards

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 17, 2021, 10:24am UTC](https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030/4 "2021-08-17T10:24:31Z")

</div>

We are here for you Jerome!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 26, 2021, 9:13am UTC](https://community.auth0.com/t/understand-auth0-cli-export-ids-parameter/68030/5 "2021-08-26T09:13:42Z")

</div>


