# Shared metadata key storage location

**URL:** <https://community.passbolt.com/t/shared-metadata-key-storage-location/13256>\
**Category:** Community Feedback\
**Created:** [June 30, 2025, 4:53pm UTC](https://community.passbolt.com/t/shared-metadata-key-storage-location/13256 "2025-06-30T16:53:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jonathan](https://community.passbolt.com/u/jonathan)\
**Post date:** [June 30, 2025, 4:53pm UTC](https://community.passbolt.com/t/shared-metadata-key-storage-location/13256/1 "2025-06-30T16:53:57Z")

</div>

Hi,

I just enabled the encrypted metadata on my Passbolt instance.  
I generated the shared metadata key from the admin section but I wonder where is the key saved ?

Is it on the filesystem ? In this case, as I run Passbolt inside a Docker container, I guess I have to create a dedicated volume to prevent the loss of the key should the container be recreated.

Or is it stored in the database ?

Thanks by advance.

---

<div class="post-metadata">

**Author:** ![remy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/remy/32/17_2.png) [@remy](https://community.passbolt.com/u/remy)\
**Post date:** [July 1, 2025, 7:57am UTC](https://community.passbolt.com/t/shared-metadata-key-storage-location/13256/2 "2025-07-01T07:57:06Z")

</div>

Hello @jonathan,

For personal records, the user key is used. For shared resources, the shared metadata key is used.  
The shared metadata key is stored in the database, encrypted for each users using their user keys.

So backup wise, there is nothing special extra todo.

Cheers,
