Skip to content

This tool can be user for half-automated elasticsearch passwords management.

Notifications You must be signed in to change notification settings

egeneralov/es-change-passwords

Repository files navigation

es-change-passwords

This tool can be user for half-automated elasticsearch passwords management.

Binary

Arguments

Example

es-change-passwords -endpoint "https://127.0.0.1:9200" -config=test/config.yml -insecure=true -tls-cert=test/tls.crt -tls-key=test/tls.key -tls-ca=test/ca.crt

Reference

argument type comment default
-endpoint string Elasticsearch http(s) port https://127.0.0.1:9200
-config string path to configuration file config.yml
-insecure bool Skip tls checks? false
-tls-cert string Path to client .pem certificate
-tls-key string Path to client .pem private key
-tls-ca string Path to CA .pem certificate

Configuration file

Example

passwords: []
#  - username: elastic
#    password: newChangeMe
#    old_password: changeme
#  - username: kibana
#    password: newChangeMe

Reference

  • passwords: list
    • username: string, username to proceed
    • password: string, password to set
      • old_password: string, used only for elastic user

Helm chart

usage

helm -n logging upgrade --install es-passwords .helm/es-change-passwords \
--set endpoint="https://es-headless:9200" \
--set certs.secretName="es-http" \
--set certs.mount=true \
--set fullnameOverride="passwords"

values.yaml reference

About

This tool can be user for half-automated elasticsearch passwords management.

Topics

Resources

Stars

Watchers

Forks

Packages