Authentification sous Kibana

Bonjour,
Je viens d'installer le conteneur «docker.elastic.co/kibana/kibana:7.2.0» ainsi qu'un conteneur ElasticSearch de même version.
Le tout fonctionne bien, mais je n'arrive pas à avoir l'authentification sous Kibana. Je n,ai même pas l'option «Security» dans la console WEB.

Est-ce que vous auriez un exemple de configuration «kibana.yml» pour authentification basic ?

Lorsque je clique sur «Security Settings», j'ai l'erreur suivante

You need permission to manage users

Contact your system administrator.

As-tu activé la sécurité ?

Here is I'm setting that with docker compose ( docker-compose.yml):

---
version: '3'
services:

  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:$ELASTIC_VERSION
    environment:
      - bootstrap.memory_lock=true
      - discovery.type=single-node
      - cluster.name=elasticsearch
      - "ES_JAVA_OPTS=-Xms2g -Xmx2g"
      - cluster.routing.allocation.disk.threshold_enabled=false
      - ELASTIC_PASSWORD=$ELASTIC_PASSWORD
      - xpack.security.enabled=$ELASTIC_SECURITY
    ulimits:
      memlock:
        soft: -1
        hard: -1
    ports:
      - 9200:9200
      - 9300:9300
    networks: ['stack']

  kibana:
    image: docker.elastic.co/kibana/kibana:$ELASTIC_VERSION
    environment:
      - ELASTICSEARCH_USERNAME=elastic
      - ELASTICSEARCH_PASSWORD=$ELASTIC_PASSWORD
    ports: ['5601:5601']
    networks: ['stack']
    links: ['elasticsearch']
    depends_on: ['elasticsearch']

networks:
  stack: {}

.env file is:

ELASTIC_VERSION=7.2.0
ELASTIC_SECURITY=true
ELASTIC_PASSWORD=changeme

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.