A base64 encoded private key (json format) for a Service Account with the Firebase Admin role in the project. If you're deploying functions, you would also need the Cloud Functions Developer role. Since the deploy service account is using the App Engine default service account in the deploy process, it also needs the Service Account User role. If you're only doing Hosting, Firebase Hosting Admin is enough.
it is required base64 for the GCP_SA_KEY. if doing firebase init hosting:github, in this way we can't get the servic account key file for encoding. Isn't better by using a raw service account key(json) like google-github-actions/setup-gcloud?
it is required base64 for the
GCP_SA_KEY
. if doingfirebase init hosting:github
, in this way we can't get the servic account key file for encoding. Isn't better by using a rawservice account key(json)
likegoogle-github-actions/setup-gcloud
?So doesn't have to do this decode again here?
Thanks!