Skip to content
Advertisement

Have a problem with cloudfront signed urls (No account found for the given parameters)

I’m trying to create signed urls from cloudfront with aws-sdk-php

I have created both Distributions WEB and RTMP

and this is the code i used to do that

this is start.php

JavaScript

and this is config.php

JavaScript

and this is index.php

JavaScript

When i click on the link i get that error

JavaScript

What is the problem here and how can i solve that?

Advertisement

Answer

CloudFront does not support downloading objects that were stored, encrypted, in S3 using KMS Keys, apparently because the CloudFront Origin Access Identity is not an IAM user, so it’s not possible to authorize it to have the necessary access to KMS.

https://forums.aws.amazon.com/thread.jspa?threadID=268390

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement