# Can credentials variable keep array value?

**URL:** <https://discourse.nodered.org/t/can-credentials-variable-keep-array-value/58612>\
**Category:** Developing Nodes\
**Created:** [18 February 2022 15:59 UTC](https://discourse.nodered.org/t/can-credentials-variable-keep-array-value/58612 "2022-02-18T15:59:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![studiobox](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/studiobox/32/55766_2.png) [@studiobox](https://discourse.nodered.org/u/studiobox)\
**Post date:** [18 February 2022 15:59 UTC](https://discourse.nodered.org/t/can-credentials-variable-keep-array-value/58612/1 "2022-02-18T15:59:01Z")

</div>

Hi all,

Normally, credential keep one variable per one value.

```auto
credentials: {
    token: {
        type: "text"
    }

```

Is it posible keep credential one variable per array value?

```auto
credentials: {
    token: [{
        type: "text"
    }]

```

Or may I use one variable per one value by keeping concatination every value?

Such as, "value1,value2, ...."

#credentials #array

---

<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:** [19 April 2022 15:59 UTC](https://discourse.nodered.org/t/can-credentials-variable-keep-array-value/58612/2 "2022-04-19T15:59:20Z")

</div>

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