-
Notifications
You must be signed in to change notification settings - Fork 224
cloudfront signer #4437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
cloudfront signer #4437
Conversation
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
ysaito1001
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, as it did already in the design. A separate crate doesn't look bad at all. Might be worth running this change through catapult with dev account if we want to be sure.
638f41c to
0f697fe
Compare
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
0f697fe to
bd15968
Compare
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
Implement SigningError enum with four variants for different error scenarios: InvalidKey, InvalidPolicy, InvalidInput, and SigningFailure. Each variant contains descriptive error messages for debugging. - Add src/error.rs with SigningError enum marked #[non_exhaustive] - Implement std::error::Error and Display traits - Add comprehensive unit tests for all error variants - Integrate error module into lib.rs 🤖 Assisted by [Amazon Q Developer](https://aws.amazon.com/q/developer)
eaee58a to
90224ed
Compare
Motivation and Context
Implements CloudFront signed URL and signed cookie generation for private content access control (see CloudFront developer guide), addressing #255.
Overview
This PR adds a new
aws-sdk-cloudfront-signercrate that provides cryptographic signing capabilities for CloudFront URLs and cookies. CloudFront signed URLs/cookies enable time-limited, policy-based access control to private CloudFront distributions using
RSA-SHA1orECDSA-SHA1signatures.Key Features
API Design
Implementation Details
Feature Flags
Testing
Checklist
.changelogdirectory, specifying "client," "server," or both in theapplies_tokey..changelogdirectory, specifying "aws-sdk-rust" in theapplies_tokey.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.