# Bulk management of Roles and Role mapping

**URL:** https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [August 6, 2015, 9:05am UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954 "2015-08-06T09:05:35Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![pranavburnwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranavburnwal/32/3714_2.png) [@pranavburnwal](https://discuss.elastic.co/u/pranavburnwal)
#### Post date: [August 6, 2015, 9:05am UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/1 "2015-08-06T09:05:35Z")

</div>

Hi,

I have a scenario in which i have a big list of roles and appropriate role mappings.  
This will get problematic to manage all from just two files.  
Moreover managing users and groups in role-mappings is also challenging as we need to write user identifier or group identifier in the file.

Is there any API or tool for this?  
Will it be possible to have some management tool (like WSO2 Identity Server for starters) take care of this stuff?

Thanks in advance... 😃 ✌

---

<div class="post-metadata">

### Author: ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)
#### Post date: [August 6, 2015, 3:38pm UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/2 "2015-08-06T15:38:41Z")

</div>

Hi Pranav,

We are planning to add an API for configuring and managing Shield users / roles / user-role mappings, etc. This is a high priority for us, so stay tuned 🙂

Thanks,  
Steve

---

<div class="post-metadata">

### Author: ![pranavburnwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranavburnwal/32/3714_2.png) [@pranavburnwal](https://discuss.elastic.co/u/pranavburnwal)
#### Post date: [October 27, 2015, 8:01am UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/3 "2015-10-27T08:01:20Z")

</div>

Hi Steve,

Its been quite some time for the feature.  
Can I get an update so as when to expect this?

Thanks

---

<div class="post-metadata">

### Author: ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)
#### Post date: [October 27, 2015, 12:09pm UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/4 "2015-10-27T12:09:27Z")

</div>

Hi Pranav,

This remains a high priority for us. It will not be part of Shield 2.0, but we are actively working on it and plan to introduce it in the coming months.

Thanks,  
Steve

---

<div class="post-metadata">

### Author: ![pranavburnwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranavburnwal/32/3714_2.png) [@pranavburnwal](https://discuss.elastic.co/u/pranavburnwal)
#### Post date: [October 27, 2015, 12:10pm UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/5 "2015-10-27T12:10:15Z")

</div>

Cool...Awating....

---

<div class="post-metadata">

### Author: ![tusharm](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tusharm](https://discuss.elastic.co/u/tusharm)
#### Post date: [February 15, 2016, 9:54am UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/6 "2016-02-15T09:54:58Z")

</div>

+1 for this feature!

---

<div class="post-metadata">

### Author: ![jingzhang](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jingzhang](https://discuss.elastic.co/u/jingzhang)
#### Post date: [October 13, 2016, 7:53pm UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/7 "2016-10-13T19:53:20Z")

</div>

Hi Steve,

Is this new feature available now?

Thanks!  
Jing

---

<div class="post-metadata">

### Author: ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)
#### Post date: [October 13, 2016, 8:10pm UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/8 "2016-10-13T20:10:10Z")

</div>

Yes, we now have [user and role](https://www.elastic.co/guide/en/shield/current/shield-rest.html#shield-users-rest) APIs for the new Native realm!

---

<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: [July 6, 2017, 1:41pm UTC](https://discuss.elastic.co/t/bulk-management-of-roles-and-role-mapping/26954/9 "2017-07-06T13:41:34Z")

</div>


