Heroku 2FA commands
npm install heroku-2faCLI Plugin for 2FA protected apps.
``bash`
$ heroku plugins:install heroku-2fa
Until this plugin has been made public, here's the installation procedure:
`bash`
$ git clone git@github.com:heroku/heroku-2fa.git
$ cd heroku-2fa
$ heroku plugins:link
Check it's installed:
``
$ heroku plugins
[...]
heroku-2fa 1.0.0 (link)
[...]
To uninstall it:
`bash`
$ heroku plugins:uninstall heroku-2fa
``
2fa:preauth add a pre-authorizations to perform actions on a paranoid app without two-factor authentication
2fa:preauth:clear remove a pre-authorizations to perform actions on a paranoid app without two-factor authentication
2fa:yubikeys list yubikeys for this account
2fa:yubikeys:add add a yubikey to this account
2fa:yubikeys:remove ID remove a yubikey from this account
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)git commit -am 'Added some feature'
3. Commit your changes ()git push origin my-new-feature`)
4. Push to the branch (
5. Create new Pull Request