The community member is looking to authenticate a custom actor to write to GCP Cloud Storage. They wonder if Apify provides an option to store the authentication keys on the console, and if there is a way to provide authentication to GCP via GitHub CI/CD.
Another community member suggests using a "secret input" by adding "isSecret": true to the input schema property. They also mention an existing GCP Actor in the Apify store that the community member could use or get inspired by.
The community members discuss using environment variables as an alternative to secret inputs, and agree that if the goal is to set the authentication key once and not worry about it, using environment variables would be the better approach.
I want to authenticate a custom actor to write to GCP Cloud Storage. While coding this up is easy, does APIFY provide an option on the console to store the keys used for authentication?
I wonder if there is a way to provide authentication to GCP via GitHub CI/CD.
Also there is already an GCP Actor in the Apify store, ill share it here just in case you would want to use it / get inspired by it π https://apify.com/vojtam/gcp-uploader
Hi , yes thats another option. I would say if you just want to set it once and then not worry about it, I would go with the Environment variables. Secret Inputs are great if you want to release the Actor to store or if you plan to change the key often, but both approaches should achieve the same result. Hope it helps π