oz0 user password
Set a new password and sign the user out everywhere; without --password-stdin one is generated.
For: Operators and developers looking up a command.
Set a new password and sign the user out everywhere; without --password-stdin one is generated. A cluster admin sets anyone's. Your own account's password changes, or is removed, only with proof that you are its person: your current password (--current-password-stdin) and, when the account has a second factor, a code from it (--code).
Usage
oz0 user password NAME [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--code | string | your own account: a code from its second factor (the authenticator app, or a recovery code) | |
--current-password-stdin | bool | your own account: read your current password from stdin (the line after the new one with --password-stdin) | |
--password-stdin | bool | read the password from stdin instead of generating one | |
--remove | bool | remove the password: the account then signs in only through an identity provider, and its next sign-in there links it |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.