Function yup_oauth2::read_service_account_key
source · [−]pub async fn read_service_account_key<P: AsRef<Path>>(
path: P
) -> Result<ServiceAccountKey>
Expand description
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.