CLI reference
norcube monitor channels verify
Confirm an SMS or email-address channel with the code sent to it
Not verified yet
Email-address and SMS channels get no alerts until their contact confirms a 6-digit code (valid 10 minutes, 5 attempts).
On a terminal, verify sends a code and asks for it. In a script, run it once to send the code, then again with --code-file (- reads standard input) to confirm. The code is never taken as an argument nor printed. A new code can be sent after a minute (--resend), at most 5 a day.
Usage
norcube monitor channels verify <channel> [flags]Examples
norcube monitor channels verify "On-call phone"
norcube monitor channels verify 0c2d4f6a-8b1e-4c3d-9e5f-7a6b5c4d3e2f --resend
echo 123456 | norcube monitor channels verify 0c2d4f6a-8b1e-4c3d-9e5f-7a6b5c4d3e2f --code-file -Flags
| Flag | Default | Description |
|---|---|---|
--code-file | Confirm with the code read from this file (- for standard input) instead of sending one | |
--resend | Send a new code (the same as running verify again) |
Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.
See also
norcube monitor channels: Manage alert channels: email, webhooks, Slack, Discord and SMS