Describe the feature
Current implementation is hard coded to SHA 1 but CloudFront supports 256 now.
https://aws.amazon.com/about-aws/whats-new/2026/04/amazon-cloudfront-sha-256-signed-urls/
Use Case
Would like to easily opt in to using SHA 256 for CloudFront signed urls.
Proposed Solution
An extra method in CannedSignerRequest.Builder and update CloudFrontUtilities.getSignedUrlWithCannedPolicy to use it
Other Information
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html
Acknowledgements
AWS Java SDK version used
2.31.78
JDK version used
25.0.2
Operating System and version
Linux
Describe the feature
Current implementation is hard coded to SHA 1 but CloudFront supports 256 now.
https://aws.amazon.com/about-aws/whats-new/2026/04/amazon-cloudfront-sha-256-signed-urls/
Use Case
Would like to easily opt in to using SHA 256 for CloudFront signed urls.
Proposed Solution
An extra method in CannedSignerRequest.Builder and update CloudFrontUtilities.getSignedUrlWithCannedPolicy to use it
Other Information
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html
Acknowledgements
AWS Java SDK version used
2.31.78
JDK version used
25.0.2
Operating System and version
Linux