Hi,
I want access assets outside AEM, publicly so that the URL is passed as source of an API call, solution required which does not include allowing anonymous access to DAM folder.
Regards
Nandan
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Nandan,
Using signed URLs allows you to access assets stored in AEM externally without allowing anonymous access to the DAM folder. For more details you can refer https://medium.com/@monendra80/enabling-anonymous-access-to-aem-assets-with-signed-urls-4b5342f73c4d
Hope this helps.
Thanks,
Monendra
Hi Nandan,
Using signed URLs allows you to access assets stored in AEM externally without allowing anonymous access to the DAM folder. For more details you can refer https://medium.com/@monendra80/enabling-anonymous-access-to-aem-assets-with-signed-urls-4b5342f73c4d
Hope this helps.
Thanks,
Monendra
Thank you for your help..!
SignedUrlOptions options = new SignedUrlOptions(assetResource.getPath())
Where can I find this class SignedUrlOptions? What package? What dependency?
Thank you!!
Views
Replies
Total Likes
Hello @nandan123
JWT tokens can be used to access AEM resources.
headers = {
"Content-type" : "application/json",
"Accept" : "application/json",
"x-api-key" : api_key,
"Authorization" : "Bearer " + access_token
}
For details, please refer to: https://experience-aem.blogspot.com/2021/07/aem-cloud-service-get-adobe-ims-jwt-and-aem-access-token...
Thanks,
Aanchal
Views
Likes
Replies