Search code examples
androidkotlinamazon-cloudfrontpre-signed-url

How to create signed URL to fetch private content from cloud front in Android


I am developing Android app in Kotlin. We need to fetch audio from amazon cloud front. How to create signed URL for amazon cloud front to access private content in Android? Is there any library to create signed URL for amazon cloud front?

Need to play an audio file without downloading and need to download the audio file for different purpose.


Solution

  • Fixed the problem today, so thought I'd post the solution here if anyone runs into the same issue.

    I just followed the link. Now I am able to create the signed url in cloud-front.