Menu

weird security

Your authenticator app (second factor).

weird security [flags]

Your account's second factor: an authenticator app (TOTP) plus eight backup codes. It is required before anything that costs credits or deletes something, and for creating API keys.

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Subcommands: disable, enroll, status.

weird security disable#

Remove your authenticator and backup codes.

weird security disable [flags]

Removes your authenticator app and every backup code. Anything that costs credits, deletes something or creates keys is then refused until you set one up again (weird security enroll). Refused while something relies on it (domains you protected, access you gave others): lift those first.

You type a current authenticator (or backup) code, in the request itself, and the word "remove" to confirm (--confirm remove in scripts; the code is still asked).

FlagTypeDefaultMeaning
--code-envstringread the authenticator (or backup) code from the environment variable of this NAME (the name, never the code, goes on the command line)
--code-fdint-1read the authenticator (or backup) code from this file descriptor (one line; 0 is standard input) instead of the hidden prompt
--confirmstring"remove", to confirm without the typed prompt

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: disableSecondFactor.

weird security enroll#

Set up (or replace) your authenticator app.

weird security enroll [flags]

Shows a QR code to scan with your authenticator app (and the secret to type in by hand), asks for the first code it shows, and prints your eight backup codes — once. Store them somewhere safe: each works once instead of an authenticator code.

If an authenticator is already set up, you're asked for a code from it first; the old one keeps working until the new one is confirmed. Your first authenticator also needs a code we email to your account's address, and is set up only from a signed-in terminal (weird login), never with an API key.

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: enrollStart, enrollVerify.

weird security status#

Show whether an authenticator is set up and whether this session is stepped up.

weird security status [flags]

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: securityStatus.

This page is generated from the weird CLI; it changes when the CLI does.