Skip to content

Instructions to set up minimal security for elasticsearch #962

@gunchleoc

Description

@gunchleoc

I followed the guide in https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html and ended up with the following settings in /etc/elasticsearch/elasticsearch.yml:

discovery.type: single-node

xpack.security.enabled: true

xpack.security.authc:
  anonymous:
    username: anonymous_user
    roles: superuser
    authz_exception: true

Should this go into the docs at https://docs.joinmastodon.org/admin/optional/elasticsearch/ ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions