Skip to content

Unable to see the role and user in ElasticSearch #27

@vperi1730

Description

@vperi1730

Hi Team,

While following the steps for creating role and user in ElasticSearch, though the curl command went successful, I don't see either the role/user inside the ES application.

For the below write command, my vault is erroring back saying the certs path is not found even though it exists. Do we need to copy the certs inside the vault which i believe is not required as they should refer to the certs which are inside the ElasticSearch?

vault write database/config/my-elasticsearch-database \
    plugin_name="elasticsearch-database-plugin" \
    allowed_roles="externally-defined-role" \
    username=vault \
    password=myPa55word \
    url=https://<service-name>:9200 \
    ca_cert=/usr/share/elasticsearch/config/certs/ca.crt \
    client_cert=/usr/share/elasticsearch/config/certs/tls.crt \
    client_key=/usr/share/elasticsearch/config/certs/tls.key

In this entire run, what am I missing if someone can point?

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