Heroku 2FA commands
npm install @heroku-cli/plugin-2faCLI Plugin for 2FA protected apps.



* Heroku CLI 2FA Plugin
* Installation
* Usage
* Development
* Commands
``sh-session`
$ heroku plugins:install @heroku-cli/heroku-2fa
sh-session
$ npm install -g @heroku-cli/plugin-2fa
$ heroku COMMAND
running command...
$ heroku (--version)
@heroku-cli/plugin-2fa/2.0.0 darwin-x64 node-v20.18.3
$ heroku --help [COMMAND]
USAGE
$ heroku COMMAND
...
`
Development
Follow the Developing CLI Plugins guide.
Commands
* heroku 2fa:preauth
* heroku 2fa:preauth:clear
* heroku 2fa:yubikeys
* heroku 2fa:yubikeys:add
* heroku 2fa:yubikeys:remove IDheroku 2fa:preauthadd a pre-authorization to perform actions on a paranoid app without two-factor authentication
`
USAGE
$ heroku 2fa:preauth -a [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= git remote of app to use
DESCRIPTION
add a pre-authorization to perform actions on a paranoid app without two-factor authentication
`_See code: src/commands/2fa/preauth/index.ts_
heroku 2fa:preauth:clearremove a pre-authorization to perform actions on a paranoid app without two-factor authentication
`
USAGE
$ heroku 2fa:preauth:clear -a [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= git remote of app to use
DESCRIPTION
remove a pre-authorization to perform actions on a paranoid app without two-factor authentication
`_See code: src/commands/2fa/preauth/clear.ts_
heroku 2fa:yubikeyslist yubikeys for this account
`
USAGE
$ heroku 2fa:yubikeysDESCRIPTION
list yubikeys for this account
`_See code: src/commands/2fa/yubikeys/index.ts_
heroku 2fa:yubikeys:addadd a yubikey to this account
`
USAGE
$ heroku 2fa:yubikeys:addDESCRIPTION
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 IDremove a yubikey from this account
`
USAGE
$ heroku 2fa:yubikeys:remove IDARGUMENTS
ID id of the Yubikey to remove
DESCRIPTION
remove a yubikey from this account
``_See code: src/commands/2fa/yubikeys/remove.ts_