band sip credential rotate
Rotate a SIP credential's password
Synopsis
Replaces a credential's digest hashes with ones derived from a new password. The credential ID is unchanged, so peers referencing it keep working. This is the recovery path when a generated password was lost. The username and application binding cannot be changed — delete and recreate for that.
band sip credential rotate <credential-id> [flags]
Examples
band sip credential rotate 870880 --realm vapi --generate-password
Options
--generate-password Generate a random password and print it once
-h, --help help for rotate
--password-file string Read the password from a file
--password-stdin Read the password from stdin
--realm string Realm ID, name, or FQDN (required)
Options inherited from parent commands
--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)
SEE ALSO
- band sip credential - Manage SIP digest credentials