48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
{
|
|
"defaults": {
|
|
"plugins": [ "lmenezes/elasticsearch-kopf", { "name": "shield", "path" : "file:./target/releases/elasticsearch-shield-1.0.0-SNAPSHOT.zip" } ],
|
|
"config" : {
|
|
"cluster": { "name": "shield" },
|
|
"indices.store.throttle.max_bytes_per_sec": "100mb",
|
|
"discovery" : {
|
|
"type" : "zen",
|
|
"zen.ping.multicast.enabled": false,
|
|
"zen.ping.unicast.hosts" : [ "localhost:9300", "localhost:9301" ]
|
|
},
|
|
"shield" : {
|
|
"enabled" : true,
|
|
"system_key.file": ".esvm-shield-config/system_key",
|
|
"audit.enabled" : false,
|
|
"transport.ssl": true,
|
|
"http.ssl": true,
|
|
"ssl" : {
|
|
"keystore" : "src/test/resources/org/elasticsearch/shield/transport/ssl/certs/simple/testnode.jks",
|
|
"keystore_password" : "testnode"
|
|
},
|
|
"authc": {
|
|
"ldap" : {
|
|
"url" : "ldaps://54.200.235.244:636",
|
|
"user_dn_templates": ["uid={0},ou=people,dc=oldap,dc=test,dc=elasticsearch,dc=com"],
|
|
"group_search.group_search_dn" : "ou=people,dc=oldap,dc=test,dc=elasticsearch,dc=com",
|
|
"group_search.subtree_search" : false,
|
|
"unmapped_groups_as_roles" : "false",
|
|
"files" : {
|
|
"role_mapping": ".esvm-shield-config/role_mapping.yml"
|
|
}
|
|
}
|
|
},
|
|
"authz.store.files.roles" : ".esvm-shield-config/roles.yml"
|
|
}
|
|
}
|
|
},
|
|
"clusters": {
|
|
"shield": {
|
|
"version": "1.4",
|
|
"nodes": [
|
|
{ "node": { "name": "node01" } },
|
|
{ "node": { "name": "node02" } }
|
|
]
|
|
}
|
|
}
|
|
}
|