# How to change password on basic auth

**URL:** <https://community.n8n.io/t/how-to-change-password-on-basic-auth/1155>\
**Category:** Questions\
**Created:** [April 14, 2020, 8:20pm UTC](https://community.n8n.io/t/how-to-change-password-on-basic-auth/1155 "2020-04-14T20:20:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LPilic](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/lpilic/32/571_2.png) [@LPilic](https://community.n8n.io/u/LPilic)\
**Post date:** [April 14, 2020, 8:20pm UTC](https://community.n8n.io/t/how-to-change-password-on-basic-auth/1155/1 "2020-04-14T20:20:37Z")

</div>

Hi,

how do you change the password for basic auth? I did set a password but stupidly I’m not able to remember it.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [April 14, 2020, 9:03pm UTC](https://community.n8n.io/t/how-to-change-password-on-basic-auth/1155/2 "2020-04-14T21:03:09Z")

</div>

It gets set as environment variables:

> **[Introduction | n8n Docs](https://docs.n8n.io/#/security)**
>
> n8n is an extendable workflow automation tool that enables you to connect anything to everything via its open, fair-code model.

So you can simply set what they are set to.

---

<div class="post-metadata">

**Author:** ![wladneto](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/wladneto/32/1887_2.png) [@wladneto](https://community.n8n.io/u/wladneto)\
**Post date:** [September 15, 2020, 10:17pm UTC](https://community.n8n.io/t/how-to-change-password-on-basic-auth/1155/3 "2020-09-15T22:17:04Z")

</div>

The basic auth is posible, but only with docker?

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [September 16, 2020, 5:48am UTC](https://community.n8n.io/t/how-to-change-password-on-basic-auth/1155/4 "2020-09-16T05:48:47Z")

</div>

Welcome to the community @wladneto!

No, exactly the same code is running. So both versions (npm & docker) are 100% identical and so have the same functionality and work the same.

The only thing that has to be done to activate basic auth is what is documented here (so setting three environment variables):

> **[Key concepts | n8n Docs](https://docs.n8n.io/getting-started/key-concepts/)**
>
> n8n is an extendable workflow automation tool that enables you to connect anything to everything via its open, fair-code model.
