Skip to content
Discussion options

You must be logged in to vote

firebase-tools can't do either of these two, so you'll need a different tool for the first one and the console for the second.

For the editor role, use gcloud. Firebase project members are just Google Cloud IAM bindings, and this is the command:

gcloud projects add-iam-policy-binding PROJECT_ID --member=user:EMAIL --role=roles/editor

That works fine in CI. The service account running the script needs permission to set IAM policies on the project, resourcemanager.projects.setIamPolicy, which the Project IAM Admin role covers.

The .p8 file is the one that can't be scripted. There is no firebase-tools command and no public API for uploading an APNs key. It has to be uploaded once in the Fire…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ajay2021-VTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants