# Rename flow file - Need to rename credential file too?

**URL:** https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100
**Category:** General
**Created:** [7 August 2019 14:58 UTC](https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100 "2019-08-07T14:58:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [7 August 2019 14:58 UTC](https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100/1 "2019-08-07T14:58:41Z")

</div>

I am running Node-Red in a raspberry without the project features enabled. For a particular reason, I want to rename the flow file from `flows_raspberrypi.json` to `flows.json`

I will change settings.js by uncommenting line below:

```auto
    // The file containing the flows. If not set, it defaults to flows_<hostname>.json
    //flowFile: 'flows.json',

```

My question: the credentials file seems to use the computer name in its file name as it appears as `flows_raspberrypi_cred.json`

Should I rename the credentials file too ?

![node-red-configuration-files](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2be89992a108c8ff8bf8110fbaf8984642e41af4.png)

Thank you mates !

---

<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: [7 August 2019 15:40 UTC](https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100/2 "2019-08-07T15:40:45Z")

</div>

The credentials file must match your flow file - just with the \_cred bit added.

If you rename one, you must rename the other.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [7 August 2019 15:48 UTC](https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100/3 "2019-08-07T15:48:28Z")

</div>

Perfect, thank you very much Nick.
