You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently running Laravel app on a multi-node infra and i cannot keep the keys locally, i need to find a way to centralize 'em.
Since 5.8, Laravel got shipped with https://github.com/vlucas/phpdotenv/releases/tag/v3.0.0 - support for multi-line .env, i think that would be a great choice to load the public & private keys from variables in the .env file:
PASSPORT_PUBLIC_KEY="------BEGIN PUBLIC KEY-----MJNHFGBASIYEYRA..."
PASSPORT_PRIVATE_KEY="-------BEGIN RSA PRIVATE KEY-----ASFOANasdara..."