The Laravel Artisan Cheatsheet now has an API. Learn more.

passport:keys

Create the encryption keys for API authentication

Options

  • force - Overwrite keys they already exist Optional
  • length - The length of the private key Optional
php artisan passport:keys [--force] [--length [LENGTH]]