opensearch-docs-cn/_security-plugin/configuration/index.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2021-05-28 13:48:19 -04:00
---
layout: default
title: Configuration
nav_order: 1
has_children: true
has_toc: false
2021-05-28 18:20:24 -04:00
redirect_from: /docs/security/configuration/
2021-05-28 13:48:19 -04:00
---
# Security configuration
The plugin includes demo certificates so that you can get up and running quickly, but before using OpenSearch in a production environment, you must configure it manually:
2021-06-09 22:15:41 -04:00
1. [Replace the demo certificates]({{site.url}}{{site.baseurl}}/opensearch/install/docker-security/)
1. [Reconfigure opensearch.yml to use your certificates]({{site.url}}{{site.baseurl}}/security-plugin/configuration/tls/)
1. [Reconfigure config.yml to use your authentication backend]({{site.url}}{{site.baseurl}}/security-plugin/configuration/) (if you don't plan to use the internal user database)
1. [Modify the configuration YAML files]({{site.url}}{{site.baseurl}}/security-plugin/configuration/yaml/)
1. [Apply changes using securityadmin.sh]({{site.url}}{{site.baseurl}}/security-plugin/configuration/security-admin/)
2021-05-28 13:48:19 -04:00
1. Start OpenSearch.
2021-06-09 22:15:41 -04:00
1. [Add users, roles, role mappings, and tenants]({{site.url}}{{site.baseurl}}/security-plugin/access-control/)
2021-05-28 13:48:19 -04:00
2021-06-09 22:15:41 -04:00
If you don't want to use the plugin, see [Disable security]({{site.url}}{{site.baseurl}}/security-plugin/configuration/disable/).