[][src]Function yup_oauth2::service_account_key_from_file

pub fn service_account_key_from_file<S: AsRef<Path>>(
    path: S
) -> 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.