mollie / laravel-mollie

Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite
https://www.mollie.com/
MIT License
322 stars 62 forks source link

Closes #245; Dynamic key support for multi-tenant environment #246

Closed npostma closed 2 months ago

npostma commented 2 months ago

See: https://github.com/mollie/laravel-mollie/issues/245

As an alternative for the .env file, using closures in the configuration will allow for more flexible and secure management of API keys, especially in multi-tenant (SaaS) applications. This approach ensures that the API key can be retrieved from a database or another secure source at runtime, enhancing security and adaptability