# File name same as client name?

**URL:** <https://community.auth0.com/t/file-name-same-as-client-name/125960>\
**Category:** Get Help\
**Tags:** connections, saml-enterprise-connection\
**Created:** [January 29, 2024, 4:29pm UTC](https://community.auth0.com/t/file-name-same-as-client-name/125960 "2024-01-29T16:29:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tib10](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@tib10](https://community.auth0.com/u/tib10)\
**Post date:** [January 29, 2024, 4:29pm UTC](https://community.auth0.com/t/file-name-same-as-client-name/125960/1 "2024-01-29T16:29:43Z")

</div>

This is regarding running import during Auth0 deploy CLI.

1. Im using directory based import. Does file have to be named same as the json name i.e client or org or connection name.  
For example can i have a file named under client folder call client.json and client.json contains a sample json below and client name like “Client XYZ”?

```auto
  "is_token_endpoint_ip_header_trusted": false,
  "name": "Client XYZ",
  "cross_origin_auth": false,
}

```

1. Also when i run the import function how do i make sure that it does not delete other existing client, org or connection not specified the directory. I just have “AUTH0\_ALLOW\_DELETE”: false, is this sufficient. What does “AUTH0\_ALLOW\_DELETE”: true does?

Any help is appreciated.

@dan.woda @thameera

---

<div class="post-metadata">

**Author:** ![thameera](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thameera/32/13430_2.png) [@thameera](https://community.auth0.com/u/thameera)\
**Post date:** [January 29, 2024, 11:52pm UTC](https://community.auth0.com/t/file-name-same-as-client-name/125960/2 "2024-01-29T23:52:54Z")

</div>

Hey @tib10, from a cursory look at the code the filename doesn’t seem to matter for clients. But if you run the export it will always name the files with the same name as application names. So for simplicity’s sake, you can keep the filename same as the app name to avoid confusion.

If AUTH0\_ALLOW\_DELETE is set to `true`, Deploy CLI will delete entities that are in the tenant but not present in your local directory. It’s set to `false` by default, but you can explicitly set it to false in the config to be sure. You can test the setup in a dev/testing tenant before moving to your prod, especially if you have concerns of the behavior.

---

<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 30, 2024, 3:16pm UTC](https://community.auth0.com/t/file-name-same-as-client-name/125960/3 "2024-01-30T15:16:04Z")

</div>

Thanks for your insight @thameera !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 13, 2024, 3:16pm UTC](https://community.auth0.com/t/file-name-same-as-client-name/125960/4 "2024-02-13T15:16:14Z")

</div>

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