Hi I use Spatie's backup package to backup database to Dropbox. I put dropbox secret info directly to .env as below code.
DROPBOX_SECRET=xxxxxxxxxx
DROPBOX_TOKEN=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
That's not comfortable once need to change these key. So, Is it possible to get key form database(Model) and put to .env via some method in controller?.
Thanks for all answers.