Let's say I want to add new internal user, this would require me to add new entry to sg_internal_users.yml and sg_roles_mapping file manually.I would like to be able to add new internal user programmatically. Is there a way to do this? Maybe using java searchguard plugin library or other API ?
--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/13ebdc15-9aaf-4d95-9559-301548ffc056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<dependency>
<groupId>com.floragunn</groupId>
<artifactId>search-guard-2</artifactId>
<version>${searchguard.version}${version.suffix}</version>
</dependency>Ben,Depending on your requirements, OpenShift uses https://github.com/fabric8io/openshift-elasticsearch-plugin/blob/master/src/main/java/io/fabric8/elasticsearch/plugin/acl/DynamicACLFilter.java to dynamically add users when a request comes in based on which indexes they are allowed to see by policy. This includes reference to a SG ACL document that we created.
On Fri, Jan 6, 2017 at 1:21 PM, Ben Kaffani <himpi...@gmail.com> wrote:
Let's say I want to add new internal user, this would require me to add new entry to sg_internal_users.yml and sg_roles_mapping file manually.I would like to be able to add new internal user programmatically. Is there a way to do this? Maybe using java searchguard plugin library or other API ?
--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
To post to this group, send email to search...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/13ebdc15-9aaf-4d95-9559-301548ffc056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.