I need the APN key to configure Firebase Cloud Messaging (FCM) for an App. I asked this key and I've received something like this text by email:
auth:
key_identifier: "J54F12867G"
encryption_key: |
-----BEGIN PRIVATE KEY-----
Mfsd9c8asdc8as9dca9sd8causdncnasldcnadLKNKJNkjnkjnLKJNLNLJNLNjln
jbhjkhbghvjhvfgchcHFCGHFCVyunlNunbuYByut56769706VHGVUYTVtyvytvtr
kjhbkjhbYbybUY7lkajsdnclkjnHkJHBkJHBs89098765lkjnlkjnjkhbjah788s
asda7kKJ
-----END PRIVATE KEY-----
But, I know that FCM requires a .p8 file. How should I do to convert that text into a .p8 file? Maybe a .p8 file is just a text file with that inside? Thanks.