band sip credential create
Create a SIP digest credential
Synopsis
Creates a SIP digest credential on a realm. Bandwidth never accepts or returns a password — the CLI computes the MD5 digest hashes from the realm's FQDN. With --generate-password the password is printed exactly once and cannot be recovered later; use 'band sip credential rotate' if it is lost.
band sip credential create [flags]
Examples
# Caller-owned secret (recommended for agents and retries)
printf '%s' "$SIP_PASSWORD" | band sip credential create --realm vapi --username vapi-agent --password-stdin
# Let the CLI generate one (shown once)
band sip credential create --realm vapi --username vapi-agent --generate-password
Options
--app-id string Bind the credential to a voice application ID
--generate-password Generate a random password and print it once
-h, --help help for create
--if-not-exists Return the existing credential if one with the same username and settings exists
--password-file string Read the password from a file
--password-stdin Read the password from stdin
--realm string Realm ID, name, or FQDN (required)
--username string SIP username (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