55 lines
1.9 KiB
Plaintext
55 lines
1.9 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",
|
||
|
"truststore" : "src/test/resources/org/elasticsearch/shield/transport/ssl/certs/simple/testnode.jks",
|
||
|
"truststore_password" : "testnode"
|
||
|
},
|
||
|
"authc": {
|
||
|
"esusers.files" : {
|
||
|
"users" : ".esvm-shield-config/users",
|
||
|
"users_roles" : ".esvm-shield-config/users_roles"
|
||
|
},
|
||
|
"ldap" : {
|
||
|
"mode" : "active_directory",
|
||
|
"domain_name" : "ad.test.elasticsearch.com",
|
||
|
"url" : "ldaps://ad.test.elasticsearch.com:636",
|
||
|
"truststore" : "src/test/resources/org/elasticsearch/shield/authc/ldap/ldaptrust.jks",
|
||
|
"truststore_password" : "changeit",
|
||
|
"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" } }
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|