# Why is API and for email generator and settings for pass phrase dropping out and not saved?

**URL:** <https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320>\
**Category:** Password Manager\
**Tags:** app:desktop, os:windows, server:default-cloud\
**Created:** [May 1, 2026, 8:14am UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320 "2026-05-01T08:14:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ulfelf](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/ulfelf/32/8213_2.png) [@ulfelf](https://community.bitwarden.com/u/ulfelf)\
**Post date:** [May 1, 2026, 8:14am UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/1 "2026-05-01T08:14:28Z")

</div>

Almost all the time, the API keys to be able to enable keys to create email alias for Duck or others are deleted and I have to add the API over and over agian. Cant see any specific on when this happens, sometime it can work a couple of days, and sometimes it seems to be saved just during current session and if I logg out, the API and pass phrase settings is set as I log in for the first time.

I saw a post here about it, and someone from BW said they are working on it, that post was made 2022, only four years ago. Seems not to be worked on at all, why?

---

<div class="post-metadata">

**Author:** ![Neuron5569](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/neuron5569/32/22241_2.png) [@Neuron5569](https://community.bitwarden.com/u/Neuron5569)\
**Post date:** [May 1, 2026, 10:31am UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/2 "2026-05-01T10:31:22Z")

</div>

Hello and welcome back 👋

You log out, and the keys are gone. I think that’s intentional; they don’t leave any of your secrets behind, even encrypted, after you’ve logged out, and the keys appear to be among those items.

You can verify this with the desktop app; look at the data.json file in the Bitwarden directory. If you use DuckDuckGo and search that string, you will eventually see something like this:

`“user_xxx_extension_forwarder”: {`  
`“duckduckgo”: {`  
`“forwarder”: {`  
`“id”: null,`  
`“secret”: “…”`

where “secret” is the encrypted key. Once you log out, this information is gone.

---

<div class="post-metadata">

**Author:** ![Nail1684](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/nail1684/32/47626_2.png) [@Nail1684](https://community.bitwarden.com/u/Nail1684)\
**Post date:** [May 1, 2026, 11:03am UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/3 "2026-05-01T11:03:02Z")

</div>

@ulfelf The API key and generator settings persist when you lock / unlock the BW apps instead of logging out / logging in.

---

<div class="post-metadata">

**Author:** ![ulfelf](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/ulfelf/32/8213_2.png) [@ulfelf](https://community.bitwarden.com/u/ulfelf)\
**Post date:** [May 1, 2026, 3:00pm UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/4 "2026-05-01T15:00:16Z")

</div>

> [@Nail1684](#):
>
> f logging out / logging in.

But what about all other “secrets” like passwords, they dont get destroyed, and after all, I think those secrets are far more to be protected, or what do you think?  
Why not store it just like the other secrets instead of making me crazy about this behaviour, if they are writing to disc, then I think that can be a security risk also, if for example you just cut the power to the computer and BW dont get time to delete it.

@Nail1684 Will try a new behaviour from me, I almost always log out since it is convinient to be able to log in using another device like phone.

---

<div class="post-metadata">

**Author:** ![Nail1684](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/nail1684/32/47626_2.png) [@Nail1684](https://community.bitwarden.com/u/Nail1684)\
**Post date:** [May 1, 2026, 3:17pm UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/5 "2026-05-01T15:17:49Z")

</div>

> [@ulfelf](#):
>
> But what about all other “secrets” like passwords, they dont get destroyed, and after all, I think those secrets are far more to be protected, or what do you think?  
> Why not store it just like the other secrets instead of making me crazy about this behaviour, if they are writing to disc, then I think that can be a security risk also, if for example you just cut the power to the computer and BW dont get time to delete it.

I’m not sure I can follow that entirely. – When you log out, the local vault data gets removed, including API keys and generator settings in most cases.

 ![2026-05-01--17-10-22-vivaldiAcNisfwi3O](https://us1.discourse-cdn.com/flex001/uploads/bitwarden1/original/3X/7/6/76781cc9d2b4bea25fcf2d5f10cf357296c30dc0.png)

(–\> [Automatic Logout or Lock | Bitwarden](https://bitwarden.com/help/vault-timeout/#session-timeout-action))

When you just lock a BW app, the vault data doesn’t get removed – but it’s still protected, and the security depends also on your unlock method.

- you can choose a strong [PIN](https://bitwarden.com/help/unlock-with-pin/) and check “Require master password on browser restart”
- you can use [biometric unlock](https://bitwarden.com/help/biometrics/)
- if you don’t use any of the former two, you can also unlock with your master password
- [“unlock with passkey”](https://bitwarden.com/help/login-with-passkeys/) would be another alternative

If you change to locking / unlocking then you should change your session timeout action to “Lock” (instead of “Log out”).

---

<div class="post-metadata">

**Author:** ![ulfelf](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/ulfelf/32/8213_2.png) [@ulfelf](https://community.bitwarden.com/u/ulfelf)\
**Post date:** [May 1, 2026, 3:37pm UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/6 "2026-05-01T15:37:25Z")

</div>

> [@Nail1684](#):
>
> If you change to locking / unlocking then you should change your session timeout action to “Lock” (instead of “Log out”).

Thanks, sorry for being fuzzy, but now think you explained so evan an old man from Sweden should understand 😉 I think I never checked the “Require master password on browser restart” but will try it out now

Thanks a lot for your great support!

---

<div class="post-metadata">

**Author:** ![Nail1684](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/nail1684/32/47626_2.png) [@Nail1684](https://community.bitwarden.com/u/Nail1684)\
**Post date:** [May 1, 2026, 4:31pm UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/7 "2026-05-01T16:31:02Z")

</div>

> [@ulfelf](#):
>
> Thanks, sorry for being fuzzy, but now think you explained so evan an old man from Sweden should understand 😉

👍 😉

> [@ulfelf](#):
>
> I think I never checked the “Require master password on browser restart” but will try it out now

I added that, because it’s more secure to check that option when using [unlock with PIN](https://bitwarden.com/help/unlock-with-pin/).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex001/uploads/bitwarden1/original/1X/681d35175c3ce2ae5f010fa0bb448862f79a2399.png) [@system](https://community.bitwarden.com/u/system)\
**Post date:** [October 28, 2026, 4:31pm UTC](https://community.bitwarden.com/t/why-is-api-and-for-email-generator-and-settings-for-pass-phrase-dropping-out-and-not-saved/96320/8 "2026-10-28T16:31:26Z")

</div>

Closed on October 28, 2026, 4:31pm UTC

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