---
title: "ezgh hosted-queues 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 hosted-queues 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 hosted-queues users rotate-password <cluster> <user> [--wait] [flags]
```

Generate a new password and write it as a new version of the user's Secret. New connections need it. RabbitMQ closes the user's open connections; Kafka's sign in again within an hour.

Part of [`ezgh hosted-queues users`](/cli/reference/hosted-queues-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/hosted-queues-users-rotate-password/index.mdx
