Expand my Community achievements bar.

SOLVED

AEMaaCS bearer access in Postman

Avatar

Level 5

Hi All,

How can we generate a bearer access token from technical account details of below through postman.

{
"ok": true,
"integration": {
"imsEndpoint": "ims-na1.adobelogin.com",
"metascopes": "111_aem_cloud_api",
"technicalAccount": {
"clientId": "cm-111-11111-integration",
"clientSecret": "1111111"
},
"email": "1111111@techacct.adobe.com",
"id": "1111@techacct.adobe.com",
"org": "1111@AdobeOrg",
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\r\1111111\r\n-----END RSA PRIVATE KEY-----\r\n",
"publicKey": "-----BEGIN CERTIFICATE-----sdfsdfsfd\r\n-----END CERTIFICATE-----\r\n",
"certificateExpirationDate": "2024-09-26T18:22:07.000Z"
},
"statusCode": 200
}
Need to invoke AssetAPI available in the AEMaaCS environment, have to validate the user credentials before proceed.

Thanks in Advance for your help.

 

__PRESENT

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @rsl_lucky 

 

The blog contains code to generate Access Token via java program: https://techrevel.blog/2023/09/06/access-restricted-resources-on-aemaacs-with-java-and-service-accou...

 

Adobe also provides a node app to generate tokens https://github.com/adobe/aemcs-api-client-lib


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hello @rsl_lucky 

 

The blog contains code to generate Access Token via java program: https://techrevel.blog/2023/09/06/access-restricted-resources-on-aemaacs-with-java-and-service-accou...

 

Adobe also provides a node app to generate tokens https://github.com/adobe/aemcs-api-client-lib


Aanchal Sikka

Avatar

Administrator

@rsl_lucky Did you find the suggestions from Aanchal helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni