# Enter Credentials in Configuration File for Sync Client

**URL:** <https://help.nextcloud.com/t/enter-credentials-in-configuration-file-for-sync-client/11046>\
**Category:** 💻 Desktop\
**Created:** [April 5, 2017, 11:11am UTC](https://help.nextcloud.com/t/enter-credentials-in-configuration-file-for-sync-client/11046 "2017-04-05T11:11:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Hunter](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jason_hunter/32/14266_2.png) [@Jason\_Hunter](https://help.nextcloud.com/u/Jason_Hunter)\
**Post date:** [April 5, 2017, 11:11am UTC](https://help.nextcloud.com/t/enter-credentials-in-configuration-file-for-sync-client/11046/1 "2017-04-05T11:11:47Z")

</div>

Hi,

I need to sync quite a lot of account, like 50 account.

I haven’t seen anything exist except the GUI client.

Is there any way I can enter the credentials for these 50 account in a configuration file, instead of putting them into the GUI?

I’m using GNU/Linux.

---

<div class="post-metadata">

**Author:** ![linucksrox](https://help.nextcloud.com/letter_avatar/linucksrox/32/6_22734026db12803ebb3e059622ac3534.png) [@linucksrox](https://help.nextcloud.com/u/linucksrox)\
**Post date:** [April 5, 2017, 12:11pm UTC](https://help.nextcloud.com/t/enter-credentials-in-configuration-file-for-sync-client/11046/2 "2017-04-05T12:11:12Z")

</div>

I’ve been able to generate the config file using a script which configures all accounts, sync folders, etc. The only thing you can’t do is include the credentials (not that I know of). So for me, I end up running the script, and the only thing left to do is enter the passwords one time in the GUI (and it automatically stores that in the config file).

Maybe someone else knows of a way to do this? I’m sure someone could derive a way by reading the source code, or modify the client to work the way you need it to.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 4:21pm UTC](https://help.nextcloud.com/t/enter-credentials-in-configuration-file-for-sync-client/11046/3 "2024-12-14T16:21:55Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 4:21pm UTC](https://help.nextcloud.com/t/enter-credentials-in-configuration-file-for-sync-client/11046/4 "2024-12-14T16:21:56Z")

</div>


