Password rotation

Hello there,

Is there a way to programmatically change passwords for users? I am aware of changing the password through kibana UI.

Thanks!

Abhi

Hi atomar,
You can do it through the API:

Edit: I guess you actually want to use the patch-user: https://opendistro.github.io/for-elasticsearch-docs/docs/security/access-control/api/#patch-user