Link to the demo users/roles documentation page

Closes #221
parent 95e6daeb
...@@ -31,5 +31,5 @@ script: ...@@ -31,5 +31,5 @@ script:
- sleep 30 - sleep 30
- docker-compose exec -T elasticsearch bin/init_sg.sh - docker-compose exec -T elasticsearch bin/init_sg.sh
- docker-compose logs - docker-compose logs
- curl --retry 10 --retry-delay 5 -D- http://localhost:9200/ -u kibanaserver:kibanaserver - curl --retry 10 --retry-delay 5 -D- http://localhost:9200/ -u kibanaro:kibanaro
- curl --retry 10 --retry-delay 5 -D- http://localhost:5601/api/status - curl --retry 10 --retry-delay 5 -D- http://localhost:5601/api/status
...@@ -24,12 +24,8 @@ Default configuration of Search Guard in this repo is: ...@@ -24,12 +24,8 @@ Default configuration of Search Guard in this repo is:
* Hostname verification disabled * Hostname verification disabled
* Self-signed SSL certificate for transport protocol (do not use in production) * Self-signed SSL certificate for transport protocol (do not use in production)
Existing users: **Check the [Demo users and roles](http://docs.search-guard.com/latest/demo-users-roles) documentation page for a list
and description of the built-in Search Guard users.**
* *admin* (password: *admin*): No restrictions for this user, can do everything
* *logstash* (password: *logstash*): CRUD permissions for logstash-\* index
* *kibanaro* (password: *kibanaro)*: Kibana user which can read every index
* *kibanaserver* (password: *kibanaserver*): User for the Kibana server (all permissions for .kibana index)
## Contents ## Contents
...@@ -140,7 +136,7 @@ $ curl -XPOST -D- 'http://localhost:5601/api/v1/auth/login' \ ...@@ -140,7 +136,7 @@ $ curl -XPOST -D- 'http://localhost:5601/api/v1/auth/login' \
-c /tmp/sg_cookies \ -c /tmp/sg_cookies \
-H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \
-H 'kbn-version: 6.1.0' \ -H 'kbn-version: 6.1.0' \
-d '{"username":"kibanaserver","password":"kibanaserver"}' -d '{"username":"kibanaro","password":"kibanaro"}'
``` ```
Create an index pattern via the Kibana API: Create an index pattern via the Kibana API:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment