# How to export / import MSSQL username and password

**URL:** <https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561>\
**Category:** General\
**Created:** [7 June 2022 10:58 UTC](https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561 "2022-06-07T10:58:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HoussemLajili](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/houssemlajili/32/62669_2.png) [@HoussemLajili](https://discourse.nodered.org/u/HoussemLajili)\
**Post date:** [7 June 2022 10:58 UTC](https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561/1 "2022-06-07T10:58:33Z")

</div>

MSSQL username and password ( variable env) but when export / import, these are lost

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 June 2022 11:06 UTC](https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561/2 "2022-06-07T11:06:13Z")

</div>

That is a security feature. Any/all nodes that use the node-red credentials do this. I realise that it is inconvenient when the password is an ENV VAR (instead of an actual password) but that is how the credentials currently work.

You could open a feature request thread in #development:feature-requests and see if it gets traction?

---

<div class="post-metadata">

**Author:** ![HoussemLajili](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/houssemlajili/32/62669_2.png) [@HoussemLajili](https://discourse.nodered.org/u/HoussemLajili)\
**Post date:** [7 June 2022 12:00 UTC](https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561/3 "2022-06-07T12:00:25Z")

</div>

oky thinks

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 June 2022 12:45 UTC](https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561/4 "2022-06-07T12:45:19Z")

</div>

> [@HoussemLajili](#):
>
> have you an exemple

Example of what? Starting a new thread? Just do what you did to start this thread, explain your issue, ask about the feasibility of exporting credentials when they are ENV VARs instead of a username/password

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 August 2022 12:46 UTC](https://discourse.nodered.org/t/how-to-export-import-mssql-username-and-password/63561/5 "2022-08-06T12:46:16Z")

</div>

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