Thank you. I had checked that one out, but was still missing AccessID.
I finally found: https://github.com/CulturalMe/meteor-slingshot/tree/subpackages/services/edgee:slingshot-google-cloud
Which clearly spells it out:
Slingshot.GoogleCloud.directiveDefault.GoogleAccessId = “Enter your access id (it looks like an email address)”;
Slingshot.GoogleCloud.directiveDefault.GoogleSecretKey = Assets.getText(‘google-cloud-service-key.pem’);
My other issue was that I didn’t was to save the .pem file in private, as the code would be public using github to push the code to Heroku. My solution to this was to save AccessId and SecretKey as environment variables and use process.env.ENVIRONMENT_VARIABLE_NAME to get the values, like:
Slingshot.GoogleCloud.directiveDefault.GoogleAccessId = process.env.GOOGLE_ACCESS_ID;
Slingshot.GoogleCloud.directiveDefault.GoogleSecretKey = process.env.GOOGLE_SECRET_KEY;