Reputation: 61
I created a JSON file to use BigQuery in my Laravel project => BigQuery docs. I put the file in the storage
folder to limit its access.
I only need to access it from my .env
file.
GOOGLE_APPLICATION_CREDENTIALS='/storage/file.json'
Naturally, I cannot access the folder that easily and I know there are ways to access it but creating a symbolic link would make the file accessible from anywhere and I don't want that. Is there a secure way to access that file in my .env file ? Or is there a better way, another folder in which I should put the JSON file ?
Upvotes: 2
Views: 1261