← Have an idea? Share it! Settings and activity 1 result found API to upload APNs credentials 3 votes Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Vote We’ll send you updates on this idea 1 comment · General » Cloud Messaging · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close AdminAnonymous (Product Manager, Google, LLC - Firebase) responded An error occurred while saving the comment Miguel Queiroz commented · Nov 23, 2023 · Edit… · Delete… Please we need this! We manage apps under projects and need to automate CI/CD. We can already create the app, and setup everything but that part is missing. I inspected how you do it in Firebase Console. I could see they do the upload of the certificate .p8 file with this "internal API" https://mobilesdk-pa.clients6.google.com/v1/projects/[project_id]/clients/ios:[ios_bundle_id]:setApnsAuthKey?key=[firebase console token key??] the payload is: {"keyId":"[Certificate .p8 ID]","privateKey":"[Certificate content]"} But I could not find a way to have the right token with the service account to call that endpoint. Save Submitting... Miguel Queiroz supported this idea · Nov 23, 2023
Please we need this!
We manage apps under projects and need to automate CI/CD.
We can already create the app, and setup everything but that part is missing.
I inspected how you do it in Firebase Console.
I could see they do the upload of the certificate .p8 file with this "internal API"
https://mobilesdk-pa.clients6.google.com/v1/projects/[project_id]/clients/ios:[ios_bundle_id]:setApnsAuthKey?key=[firebase console token key??]
the payload is:
{"keyId":"[Certificate .p8 ID]","privateKey":"[Certificate content]"}
But I could not find a way to have the right token with the service account to call that endpoint.