# Deploy CLI exclude database connections

**URL:** <https://community.auth0.com/t/deploy-cli-exclude-database-connections/39728>\
**Category:** Get Help\
**Tags:** deploy-cli\
**Created:** [March 20, 2020, 5:51pm UTC](https://community.auth0.com/t/deploy-cli-exclude-database-connections/39728 "2020-03-20T17:51:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AAbdelwahed](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aabdelwahed/32/14308_2.png) [@AAbdelwahed](https://community.auth0.com/u/AAbdelwahed)\
**Post date:** [March 20, 2020, 5:51pm UTC](https://community.auth0.com/t/deploy-cli-exclude-database-connections/39728/1 "2020-03-20T17:51:04Z")

</div>

I am using deploy-cli to propagate changes from one tenant to another but I want to exclude database from the deployment.

I tried to add to “config.json” these keys but all failed “AUTH0\_EXCLUDED\_DATABASE-CONNECTIONS”, "AUTH0\_EXCLUDED\_DATABASE’, “AUTH0\_EXCLUDED\_CONNECTIONS”

What is the valid key I need to exclude database connection from my import?

---

<div class="post-metadata">

**Author:** ![sidharth.chaudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sidharth.chaudhary/32/20686_2.png) [@sidharth.chaudhary](https://community.auth0.com/u/sidharth.chaudhary)\
**Post date:** [April 1, 2020, 5:50am UTC](https://community.auth0.com/t/deploy-cli-exclude-database-connections/39728/2 "2020-04-01T05:50:36Z")

</div>

Hi @AAbdelwahed, Welcome to the Auth0 Community!  
On my side I can see the following configuration works in the config.json file:  
“AUTH0\_EXCLUDED\_DATABASES” : [“Name of the DB connection”]  
I think you are missing just one character.

---

<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:** [April 1, 2020, 10:46am UTC](https://community.auth0.com/t/deploy-cli-exclude-database-connections/39728/3 "2020-04-01T10:46:44Z")

</div>

Let us know if that worked for you @AAbdelwahed!

---

<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:** [April 16, 2020, 10:46am UTC](https://community.auth0.com/t/deploy-cli-exclude-database-connections/39728/4 "2020-04-16T10:46:47Z")

</div>

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