Apple’s CloudKit is the framework that allows developers to connect with Apple iCloud account and store data that can be accessed by application users. The CloudKit also gives developers to control data movement from iCloud to app and vice versa.
Until now, CloudKit API was available from the apps only. But yesterday, Apple team announced availability of CloudKit server-to-server API. The announcement was posted on Apple Developer website via a blog post.
From the announcement:
Use a server-to-server key to access the public database of a container as an administrator, not a user. You create the server-to-server certificate (that includes the private and public key) locally. Then use CloudKit Dashboard to enter the public key and create a key ID that you include in the subpath of your web services requests.