Closed
Description
Some CI systems don't really give you the option to have files. Since we're not sure yet if it would be a good idea to allow the user to configure the default instance of CloudStorageFileSystemProvider
with a Storage
object that has custom authentication, it would be really nice if the environment variable provided greater flexibility.
I propose that, if the GOOGLE_APPLICATION_CREDENTIALS
environment has a value that:
- Starts with
^\s*\{
- Is valid JSON
Then it will be treated as though it's the contents of the key file, rather than a filename.