scram list
kafka scram list <users...>
List SCRAM credentials for one or more users, or every user
Arguments
| Argument | Description |
|---|---|
users... |
user names to describe (omit for every user) |
Shared options and defaults: connection profiles, JSON output, logging and help.
Defaults
With no user names, lists credentials for all users. No password is returned.
Flags
| Flag | Description |
|---|---|
--brokers <string> |
comma-separated broker list, e.g. localhost:9092 |
Examples
kafka scram list --brokers localhost:9092
kafka scram list alice bob --brokers localhost:9092
Output
Illustrative, abbreviated output. Empty arrays show the result envelope; actual entries, identifiers, optional fields and broker errors depend on the request and cluster.
With --json:
{
"results": []
}
Declared exit codes: 0, 1, 2, 4. See the exit-code reference for meanings.