Secure your clusters with Kerberos
You can secure your Elasticsearch clusters and Kibana instances in a deployment by using the Kerberos-5 protocol to authenticate users.
Note
The Kerberos credentials are valid against the deployment, not the ECE platform.
Before you begin ¶
The steps in this section require an understanding of Kerberos. To learn more about Kerberos, check our documentation on configuring Elasticsearch for Kerberos authentication.
Configure the cluster to use Kerberos ¶
With a custom bundle containing the Kerberos files and changes to the cluster configuration, you can enforce user authentication through the Kerberos protocol.
- Create or use an existing deployment that includes a Kibana instance.
- Create a custom bundle that contains your
krb5.conf
andkeytab
files, and add it to your cluster. ::::{tip}
You should use these exact filenames for Elastic Cloud Enterprise to recognize the file in the bundle.
:::: - Edit your cluster configuration, sometimes also referred to as the deployment plan, to define Kerberos settings as described in Elasticsearch documentation.
xpack.security.authc.realms.kerberos.cloud-krb: order: 2 keytab.path: es.keytab remove_realm_name: false
- Update Kibana in the user settings configuration to use Kerberos as the authentication provider:
xpack.security.authc.providers: kerberos.kerberos1: order: 0
basic
provider
like this:xpack.security.authc.providers: kerberos.kerberos1: order: 0 description: "Log in with Kerberos" 1 basic.basic1: order: 1
- This arbitrary string defines how Kerberos login is titled in the Login Selector UI that is shown when you enable multiple authentication providers in Kibana. You can also configure the optional
icon
andhint
settings for any authentication provider.
- This arbitrary string defines how Kerberos login is titled in the Login Selector UI that is shown when you enable multiple authentication providers in Kibana. You can also configure the optional
- Use the Kibana endpoint URL to log in.