heroku-2fa
CLI Plugin for 2FA protected apps.
Installation
$ heroku plugins:install heroku-2fa
Until this plugin has been made public, here's the installation procedure:
$ 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:
$ heroku plugins:uninstall heroku-2fa
Usage
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
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request