Skip to content

Commit

Permalink
Remove auth:2fa:generate-recovery-codes
Browse files Browse the repository at this point in the history
* We are removing this because with MFA moving to VaaS, users can no
  longer generate recovery codes via API. They will do it via Dashboard
instead.
* Deprecation message deployed Dec 1, 2020: #1685
* Following instructions here https://salesforce.quip.com/r2DjA7QLgHsu
* https://gus.my.salesforce.com/one/one.app#/alohaRedirect/a07B0000008gvxSIAQ
  • Loading branch information
Jessie A. Young authored and fivetanley committed Feb 3, 2021
1 parent 9fee08a commit 36e9665
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 69 deletions.
25 changes: 0 additions & 25 deletions docs/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ check 2fa status

* [`heroku auth:2fa`](#heroku-auth2fa)
* [`heroku auth:2fa:disable`](#heroku-auth2fadisable)
* [`heroku auth:2fa:generate-recovery-codes`](#heroku-auth2fagenerate-recovery-codes)
* [`heroku auth:login`](#heroku-authlogin)
* [`heroku auth:logout`](#heroku-authlogout)
* [`heroku auth:token`](#heroku-authtoken)
Expand Down Expand Up @@ -45,30 +44,6 @@ EXAMPLES

_See code: [@heroku-cli/plugin-auth](https://github.com/heroku/cli/blob/v7.47.10/packages/auth/src/commands/auth/2fa/disable.ts)_

## `heroku auth:2fa:generate-recovery-codes`

generates 2fa recovery codes

```
USAGE
$ heroku auth:2fa:generate-recovery-codes
DESCRIPTION
If you lose access to your two-factor device, e.g. you lose your phone or it is wiped, you can still log in to your
account. When prompted for the second factor after entering your account password, choose "Enter a Recovery Code.” You
can then enter one of your recovery codes instead of a token from your two-factor device. Note that each recovery code
can only be used once.
Running this command will replace existing codes.
ALIASES
$ heroku twofactor:generate-recovery-codes
$ heroku 2fa:generate-recovery-codes
$ heroku auth:2fa:generate
```

_See code: [@heroku-cli/plugin-auth](https://github.com/heroku/cli/blob/v7.47.10/packages/auth/src/commands/auth/2fa/generate-recovery-codes.ts)_

## `heroku auth:login`

login with your Heroku credentials
Expand Down
25 changes: 0 additions & 25 deletions packages/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ auth core plugin for Heroku CLI
<!-- commands -->
* [`heroku auth:2fa`](#heroku-auth2fa)
* [`heroku auth:2fa:disable`](#heroku-auth2fadisable)
* [`heroku auth:2fa:generate-recovery-codes`](#heroku-auth2fagenerate-recovery-codes)
* [`heroku auth:login`](#heroku-authlogin)
* [`heroku auth:logout`](#heroku-authlogout)
* [`heroku auth:token`](#heroku-authtoken)
Expand Down Expand Up @@ -58,30 +57,6 @@ EXAMPLES

_See code: [src/commands/auth/2fa/disable.ts](https://github.com/heroku/cli/blob/v7.47.10/packages/auth/src/commands/auth/2fa/disable.ts)_

## `heroku auth:2fa:generate-recovery-codes`

generates 2fa recovery codes

```
USAGE
$ heroku auth:2fa:generate-recovery-codes
DESCRIPTION
If you lose access to your two-factor device, e.g. you lose your phone or it is wiped, you can still log in to your
account. When prompted for the second factor after entering your account password, choose "Enter a Recovery Code.” You
can then enter one of your recovery codes instead of a token from your two-factor device. Note that each recovery code
can only be used once.
Running this command will replace existing codes.
ALIASES
$ heroku twofactor:generate-recovery-codes
$ heroku 2fa:generate-recovery-codes
$ heroku auth:2fa:generate
```

_See code: [src/commands/auth/2fa/generate-recovery-codes.ts](https://github.com/heroku/cli/blob/v7.47.10/packages/auth/src/commands/auth/2fa/generate-recovery-codes.ts)_

## `heroku auth:login`

login with your Heroku credentials
Expand Down
19 changes: 0 additions & 19 deletions packages/auth/src/commands/auth/2fa/generate-recovery-codes.ts

This file was deleted.

0 comments on commit 36e9665

Please sign in to comment.