semi
New Contributor II

Thank you you are right the function : ServiceAccountCredentials.from_json_keyfile_name doesn't know DBFS and I'm using a databricks community also I did assign a key in a variable call  key_variable and pass it into this function :

ServiceAccountCredentials.from_json_keyfile_dict(

   key_variable, SCOPES)

I know it's disallowed to assign the key in a function