AEMaaCS bearer access in Postman | Community
Skip to main content
rsl_lucky
Level 4
October 31, 2023
Solved

AEMaaCS bearer access in Postman

  • October 31, 2023
  • 2 replies
  • 1227 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

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-accounts/

 

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

2 replies

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
October 31, 2023

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-accounts/

 

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

Aanchal Sikka
rsl_lucky
rsl_luckyAuthor
Level 4
November 2, 2023

Thanks @aanchal-sikka for the inputs.

kautuk_sahni
Community Manager
Community Manager
November 1, 2023

@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