info('Generating new ES256 private key...'); $this->newLine(); $key = OAuthKey::create(); $private = $key->privateB64(); $this->components->twoColumnDetail('Private Key', ''.$private.''); $this->newLine(); $this->components->info('Add this to your .env file:'); $this->line('ATP_OAUTH_PRIVATE_KEY="'.$private.'"'); $this->newLine(); $this->components->warn('Keep this key secret! Do not commit it to version control.'); return self::SUCCESS; } }