samelamin / spark-bigquery

Google BigQuery support for Spark, Structured Streaming, SQL, and DataFrames with easy Databricks integration.
Apache License 2.0
70 stars 28 forks source link

Give content of JSON credentials instead of path to it #76

Closed leobenkel closed 5 years ago

leobenkel commented 5 years ago

Would it be possible to make a change so there is an option to give the content of the credential json file instead of the path to it ?

Thank you !

samelamin commented 5 years ago

It can be done ofcourse, but since that would mean hard coding the creds, I would rather not allow bad practice

leobenkel commented 5 years ago

They can be pass as ENV variables