# Use of credentials other than from flows

**URL:** https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474
**Category:** Feature Requests
**Created:** [12 March 2023 13:50 UTC](https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474 "2023-03-12T13:50:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [12 March 2023 13:50 UTC](https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474/1 "2023-03-12T13:50:36Z")

</div>

I am not sure if this is a feature request or if there is already a solution, but am posting here as there doesn't seem to be a more appropriate category.

node-red-mcu-plugin has a requirement to store credentials, for example for wifi SSID/key. Ideally those would be stored with the node-red credentials. It seems however, that, very sensibly, credentials get discarded if they are not referenced in the flows file, which they would not be in this case. Is there good solution to this?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 March 2023 17:14 UTC](https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474/2 "2023-03-12T17:14:29Z")

</div>

Is there any reason the mcu-plugin couldn't add a config node to the flow to store those things?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 March 2023 08:28 UTC](https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474/3 "2023-03-13T08:28:29Z")

</div>

I think the problem may be that the plugin is not a set of nodes. It doesn't have any presence in the flows file.  
@ralphwetzel could this be a valid solution?

---

<div class="post-metadata">

### Author: ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)
#### Post date: [13 March 2023 08:44 UTC](https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474/4 "2023-03-13T08:44:28Z")

</div>

> [@Colin](#):
>
> could this be a valid solution?

It can't. There's a n:n relation between flows & build configurations. Each build config could have credentials.

By theory everything is possible: Managing this setup via config node(s) yet will create a nightmare of bookkeeping. Thus: There are better ways...

---

<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: [12 May 2023 08:44 UTC](https://discourse.nodered.org/t/use-of-credentials-other-than-from-flows/76474/5 "2023-05-12T08:44:39Z")

</div>

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