@heroku-cli/plugin-2fa
v3.0.0
Published
Heroku 2FA commands
Readme
Heroku CLI 2FA Plugin
CLI Plugin for 2FA protected apps.
Installation
$ heroku plugins:install @heroku-cli/plugin-2faUsage
$ npm install -g @heroku-cli/plugin-2fa
$ heroku COMMAND
running command...
$ heroku (--version)
@heroku-cli/plugin-2fa/3.0.0 linux-x64 node-v20.20.2
$ heroku --help [COMMAND]
USAGE
$ heroku COMMAND
...Development
Follow the Developing CLI Plugins guide.
Commands
heroku 2fa:preauthheroku 2fa:preauth:clearheroku 2fa:yubikeysheroku 2fa:yubikeys:addheroku 2fa:yubikeys:remove ID
heroku 2fa:preauth
add a pre-authorization to perform actions on a paranoid app without two-factor authentication
USAGE
$ heroku 2fa:preauth -a <value> [--prompt] [-r <value>]
FLAGS
-a, --app=<value> (required) app to run command against
-r, --remote=<value> git remote of app to use
GLOBAL FLAGS
--prompt interactively prompt for command arguments and flags
DESCRIPTION
add a pre-authorization to perform actions on a paranoid app without two-factor authenticationSee code: src/commands/2fa/preauth/index.ts
heroku 2fa:preauth:clear
remove a pre-authorization to perform actions on a paranoid app without two-factor authentication
USAGE
$ heroku 2fa:preauth:clear -a <value> [--prompt] [-r <value>]
FLAGS
-a, --app=<value> (required) app to run command against
-r, --remote=<value> git remote of app to use
GLOBAL FLAGS
--prompt interactively prompt for command arguments and flags
DESCRIPTION
remove a pre-authorization to perform actions on a paranoid app without two-factor authenticationSee code: src/commands/2fa/preauth/clear.ts
heroku 2fa:yubikeys
list yubikeys for this account
USAGE
$ heroku 2fa:yubikeys [--prompt]
GLOBAL FLAGS
--prompt interactively prompt for command arguments and flags
DESCRIPTION
list yubikeys for this accountSee code: src/commands/2fa/yubikeys/index.ts
heroku 2fa:yubikeys:add
add a yubikey to this account
USAGE
$ heroku 2fa:yubikeys:add [--prompt]
GLOBAL FLAGS
--prompt interactively prompt for command arguments and flags
DESCRIPTION
add a yubikey to this account
You will be prompted to press it.See code: src/commands/2fa/yubikeys/add.ts
heroku 2fa:yubikeys:remove ID
remove a yubikey from this account
USAGE
$ heroku 2fa:yubikeys:remove ID [--prompt]
ARGUMENTS
ID id of the Yubikey to remove
GLOBAL FLAGS
--prompt interactively prompt for command arguments and flags
DESCRIPTION
remove a yubikey from this accountSee code: src/commands/2fa/yubikeys/remove.ts
