ElasticSearch Authentication
Deskpro supports authentication for ElasticSearch using pre-configured credentials.
To use ElasticSearch authentication you will need to have created user credentials already for the ElasticSearch service. For more infomation please read ElasticSearch's own documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/users-command.html
To use the created credentials you will need to update the ElasticSearch server URL with the username and password in the following format:
https://user:password@elasticsearch.url:9200/ copy
Web GUI
You can update the Deskpro instance within the OPC web GUI. Navigate to your instances ElasticSearch page and click 'Edit Parameters' on the Connection card.

Update the URL with the required credentials, then click 'Validate' to confirm the settings before clicking 'Save'

CLI
You can run the following command to set your instance to use an ElasticSearch server with a defined user and password
opc inst -i instance config set --es-host https://user:password@elasticsearch.url:9200/ copy
Please log in or register to submit a comment.