# Clear secure storage

**URL:** <https://forum.legato.io/t/clear-secure-storage/6444>\
**Category:** Legato Application Framework\
**Created:** [February 28, 2023, 6:36am UTC](https://forum.legato.io/t/clear-secure-storage/6444 "2023-02-28T06:36:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HudriWudri](https://avatars.discourse-cdn.com/v4/letter/h/a6a055/32.png) [@HudriWudri](https://forum.legato.io/u/HudriWudri)\
**Post date:** [February 28, 2023, 6:36am UTC](https://forum.legato.io/t/clear-secure-storage/6444/1 "2023-02-28T06:36:46Z")

</div>

Hello, we’re storing data in the secure storage but it seems like our limit is reached. Is there an option to clean the secure storage even if we don’t know the keys? Or to retrieve the keys?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [February 28, 2023, 6:44am UTC](https://forum.legato.io/t/clear-secure-storage/6444/2 "2023-02-28T06:44:53Z")

</div>

not sure if it works, but have you tried this to clear userapp partition?  
(Be careful of the mtd number, different FW might have different mtd number for userapp partition !!! )

> **[Swiflash -r broken with release 12 on wp77xx?](https://forum.sierrawireless.com/t/swiflash-r-broken-with-release-12-on-wp77xx/20957/2)**
>
> According to the release note of fw r12, QTI9X07-2870 is to fix userapp partition being erased which is security hole. You might also try the following without downgrading to older version: (Be careful of the mtd number, different FW might have...

---

<div class="post-metadata">

**Author:** ![HudriWudri](https://avatars.discourse-cdn.com/v4/letter/h/a6a055/32.png) [@HudriWudri](https://forum.legato.io/u/HudriWudri)\
**Post date:** [February 28, 2023, 7:24am UTC](https://forum.legato.io/t/clear-secure-storage/6444/3 "2023-02-28T07:24:56Z")

</div>

Great! Seems like it worked 👍
