I want to assign a new role to my users, but i have 150 users.... there is a way to assign the role to all users at the same time
thanks in advance
I want to assign a new role to my users, but i have 150 users.... there is a way to assign the role to all users at the same time
thanks in advance
@Larry_Gregory can we do this?
Thanks,
Bhavya
Hey @artax_sb,
Based on your question, I assume that your users are in the native
realm? If so, then there isn't a way to bulk-assign a role to your users, but you can automate this by writing a script which calls the Elasticsearch's User APIs for each of your users
If you're using a different realm type (e.g. SAML, Kerberos, PKI, OIDC), then you can define a role mapping to assign your users the same role using a single declaration.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.