This is an automated email from the ASF dual-hosted git repository.
cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git
The following commit(s) were added to refs/heads/master by this push:
new 02613fd05 Update 130-elasticsearch-plugin.md
02613fd05 is described below
commit 02613fd056af002c6bcef1af98e7b8ffa46c2a4d
Author: Charles S. Givre <[email protected]>
AuthorDate: Mon May 8 13:46:43 2023 -0400
Update 130-elasticsearch-plugin.md
Add credential provider to documentation.
---
.../en/connect-a-data-source/plugins/130-elasticsearch-plugin.md | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/_docs/en/connect-a-data-source/plugins/130-elasticsearch-plugin.md
b/_docs/en/connect-a-data-source/plugins/130-elasticsearch-plugin.md
index d36f59882..634026477 100644
--- a/_docs/en/connect-a-data-source/plugins/130-elasticsearch-plugin.md
+++ b/_docs/en/connect-a-data-source/plugins/130-elasticsearch-plugin.md
@@ -36,8 +36,13 @@ Following is the default registration configuration.
"hosts": [
"http://localhost:9200"
],
- "username": null,
- "password": null,
+ "credentialsProvider": {
+ "credentialsProviderType": "PlainCredentialsProvider",
+ "credentials": {
+ "username": "elastic",
+ "password": "password"
+ }
+ },
"enabled": false
}
```