# Get role mapping created with configmaps

**URL:** <https://discuss.elastic.co/t/get-role-mapping-created-with-configmaps/292097>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [December 16, 2021, 7:39am UTC](https://discuss.elastic.co/t/get-role-mapping-created-with-configmaps/292097 "2021-12-16T07:39:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerardgorrion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gerardgorrion/32/85495_2.png) [@gerardgorrion](https://discuss.elastic.co/u/gerardgorrion)\
**Post date:** [December 16, 2021, 7:39am UTC](https://discuss.elastic.co/t/get-role-mapping-created-with-configmaps/292097/1 "2021-12-16T07:39:25Z")

</div>

We are deploying Elasticsearch 7.15.2 on kubernetes. To configuring roles\_mappings, we configure configmaps with a "role-mapping.yml" file with the rights, and seem working fine. The problem is: we cant check if some right into the list is no running because the API call (GET /\_security/role\_mapping) not show the roles created by this configmap. Someone knows some way to check it? we can't call all users to test if all role mapping are fine... Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 13, 2022, 7:40am UTC](https://discuss.elastic.co/t/get-role-mapping-created-with-configmaps/292097/2 "2022-01-13T07:40:12Z")

</div>

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