heroku-pipelines icon indicating copy to clipboard operation
heroku-pipelines copied to clipboard

pipelines:promote does not prompt for 2FA when necessary

Open msakrejda opened this issue 8 years ago • 4 comments

When promoting to a paranoid app, I don't get prompted for 2FA entry:

maciek@mothra:~/code/herokudata$ h pipelines:promote -a herokudata-staging
Fetching app info... done
Fetching apps from herokudata... done
Starting promotion to production... done
Waiting for promotion to complete... done
 ▸    
 ▸    Promotion to some apps failed
herokudata: failed
            A second authentication factor or pre-authorization is required for this request. Your account has either two-factor or a YubiKey registered.

If I preauth this works fine, but is it possible to have pipelines handle this transparently if the app being promoted to requires 2FA for deploy?

msakrejda avatar Jul 15 '16 20:07 msakrejda