code: function(err, privkey, pubkey) {
        if (err) throw err;
        this.pubkey = pubkey;
        this.privkey = privkey;
        this.user_host_field = pubkey.split(' ')[2].trim();
        console.log("Adding Heroku SSH keypair via API");
        add_ssh_key(api_key, pubkey, this);
      }
docs: Add keypair to Heroku account