API authentication with Adobe Experience Manager as a Cloud Service
summary
Server-to-server auth for AEM Cloud uses a downloadable service credentials JSON containing a private key, public key, client id/secret and metascopes; the server signs a JWT, posts it to Adobe IMS, and receives an access token ~24 hours long. A 100-line Node.js demo uses the am cloud service api client library to exchange credentials, cache the access token (one exchange only), and post repeated updates to an asset every 30 seconds — the updates succeed in the demo.
AI-written summary · about
