Skip to main content

Rotate Password

POST 

/api/v1/auth/accounts/:username/rotate-password

Rotate the local admin's password in the deployment's secret store.

The store that injects DFE_ENGINE_AUTH_LOCAL_ADMIN_PASSWORD is the source of that password, so the engine writes the new value through its secrets backend and never into its own YAML. The next boot reconcile issues the rotated value to the admin, who must replace it at the following login. Returns 501 with the command that changes it where it is kept when the deployment has not declared a secrets path for the password. Every other account, breakglass included, changes its password through reset-password.

Request​

Responses​

Successful Response