---
title: "ezgh warehouse users rotate-password"
description: "Rotate a user's password."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh warehouse users rotate-password

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh warehouse users rotate-password <warehouse> <user> [--wait] [flags]
```

Generate a new password and write it as a new version of the user's Secret, then the user takes it.

Part of [`ezgh warehouse users`](/cli/reference/warehouse-users).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait until it's done, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/warehouse-users-rotate-password/index.mdx
