Apple Developer Enterprise Program API

So in the WWDC24 session What's new in App Store Connect a new Apple Developer Enterprise Program API is briefly mentioned at the end of the talk.

But there seems to be no other mention of it and would like to know more so that we perhaps can retire some rather not nice ways of automating Enterprise stuff :)

Hey @brickbogh,

Thanks for posting this question on the Apple Developer Forums!

I have also been unable to find any resources on how to get started with the discussed Enterprise API. I filed the below Feedback asking for additional information on when it would be made available and where the documentation will be hosted.

FB14080042

The Enterprise API is also referenced in the Apple Seed for IT program if you have access to it inside of the "What's New for IT" documentation, but there is only a single paragraph of information with no technical information.

Hopefully this shows up soon so that developers can start using it!

Happy coding!

This is great news.

I have dipped toes into the water to try it out - but I am having an issue with the API Key that is generated.

So curious to know if anyone else coming here has faced similar issues?

Essentially, the exact same code used to read our regular App Store Connect API Key does not work when reading the Enterprise API key.

We use (from CryptoKit): P256.Signing.PrivateKey(pemRepresentation: pemString) to read the string representation of the key from the p8 file.

This works fine for App Store Connect API key files. This does not work for Enterprise API key files.

Error is 'invalidPEMDocument' suggesting some issue either with the key file, or, maybe the p8 for Enterprise is not in PEM format, and I should use a different format to read it.

API Key issue is now resolved by revoking old keys and generating and using new keys. API works as expected: https://forums.developer.apple.com/forums/thread/763225

Apple Developer Enterprise Program API
 
 
Q