Function yup_oauth2::service_account_key_from_file[][src]

pub fn service_account_key_from_file(path: &String) -> Result<ServiceAccountKey>

Read a service account key from a JSON file. You can download the JSON keys from the Google Cloud Console or the respective console of your service provider.