Function yup_oauth2::read_service_account_key[][src]

pub async fn read_service_account_key<P: AsRef<Path>>(
    path: P
) -> 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.