# Where does Aerospike store it's users/roles?

**URL:** <https://discuss.aerospike.com/t/where-does-aerospike-store-its-users-roles/6237>\
**Category:** General Discussion\
**Created:** [May 8, 2019, 9:34pm UTC](https://discuss.aerospike.com/t/where-does-aerospike-store-its-users-roles/6237 "2019-05-08T21:34:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricky.kwan.ix](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@ricky.kwan.ix](https://discuss.aerospike.com/u/ricky.kwan.ix)\
**Post date:** [May 8, 2019, 9:34pm UTC](https://discuss.aerospike.com/t/where-does-aerospike-store-its-users-roles/6237/1 "2019-05-08T21:34:35Z")

</div>

I’m trying to create a dockerized environment for testing purposes. I am using docker-compose to bring up a small cluster, and I want to set up persistence using volumes.

Which directories inside the container should I mount? Currently I am persisting `/opt/aerospike/data/` but I notice that the users/roles that I create are not persisted on container recreation.

---

<div class="post-metadata">

**Author:** ![pgupta](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/pgupta/32/2351_2.png) [@pgupta](https://discuss.aerospike.com/u/pgupta)\
**Post date:** [May 8, 2019, 9:57pm UTC](https://discuss.aerospike.com/t/where-does-aerospike-store-its-users-roles/6237/2 "2019-05-08T21:57:09Z")

</div>

Check /opt/aerospike/smd/security.smd
