Skip to content
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

Add S3 Express identity cache #3390

Merged
merged 51 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
dbcfe73
Add placeholder types for S3 Express
ysaito1001 Jan 25, 2024
714aaad
Enable control flow to be altered for S3 Express
ysaito1001 Jan 25, 2024
9086db2
Fix lint-related failures in CI
ysaito1001 Jan 25, 2024
1f07f92
Temporarily disable S3 Express endpoint tests
ysaito1001 Jan 25, 2024
13c3c5a
Update aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk…
ysaito1001 Jan 29, 2024
38ce80f
Make s3_express inlineable modules `pub(crate)`
ysaito1001 Jan 29, 2024
ef1e1be
Remove unnecessary `set_shared_identity_resolver`
ysaito1001 Jan 29, 2024
9e4542b
Allow list-objects-v2 to run against S3 Express bucket
ysaito1001 Jan 29, 2024
67223e3
Add recording test for S3 Express list-objects-v2
ysaito1001 Jan 29, 2024
b30abb2
Exclude `s3_express` from aws-inlineable's module tree
ysaito1001 Jan 30, 2024
2fcd2f7
Enable S3 Express endpoint tests
ysaito1001 Jan 30, 2024
6f72773
Add S3 Express identity cache
ysaito1001 Jan 31, 2024
e9546b0
Add recording test for S3 Express list-objects-v2
ysaito1001 Feb 1, 2024
ce78bdc
Update recording test
ysaito1001 Feb 1, 2024
235e5ae
Update aws/rust-runtime/aws-inlineable/src/s3_express.rs
ysaito1001 Feb 6, 2024
21ad106
Update aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk…
ysaito1001 Feb 7, 2024
9acaf29
Support presigning for S3 Express
ysaito1001 Feb 8, 2024
ec08ae9
Add integration test for S3 Express `get_object` presigning
ysaito1001 Feb 8, 2024
c2a2708
Make `cache_location` a method on `ResolveIdentity`
ysaito1001 Feb 8, 2024
15e89c6
Merge branch 'ysaito/s3express' into s3express-add-placeholders
ysaito1001 Feb 8, 2024
c4df9c7
Error instead of panic on missing bucket name
ysaito1001 Feb 8, 2024
0e405e1
Error instead of panic in `add_token_to_request`
ysaito1001 Feb 9, 2024
e47157f
Update comment for `invalidXmlRootAllowList`
ysaito1001 Feb 9, 2024
5a4e3b2
Implement `from_runtime_components` instead of `From` trait
ysaito1001 Feb 9, 2024
51518f9
Allow `config::Builder` to be created from `ConfigBag`
ysaito1001 Feb 9, 2024
573ef36
Add `TODO` to make `sign_http_request` user-friendly
ysaito1001 Feb 9, 2024
457f6b8
Add a reference to docs for `IdentityCacheLocation`
ysaito1001 Feb 9, 2024
f569231
Use rustTemplate instead of rustBlockTemplate for readability
ysaito1001 Feb 10, 2024
c3d754f
Exclude `s3_express` from `aws-inlineable`'s module tree
ysaito1001 Feb 10, 2024
5b27e4d
Merge branch 'main' into s3express-add-placeholders
ysaito1001 Feb 10, 2024
99a9112
Merge branch 's3express-add-placeholders' into s3express-allow-list-o…
ysaito1001 Feb 10, 2024
3233dbe
Add placeholder types for S3 Express and enable control flow to be re…
ysaito1001 Feb 10, 2024
63dcb93
Merge branch 'ysaito/s3express' into s3express-allow-list-objects-v2-…
ysaito1001 Feb 10, 2024
daea66b
Merge branch 'ysaito/s3express' into s3express-allow-list-objects-v2-…
ysaito1001 Feb 10, 2024
6c795b9
Merge branch 'ysaito/s3express' into s3express-allow-list-objects-v2-…
ysaito1001 Feb 10, 2024
d2354bd
Anonymize tokens in S3 Express recording test
ysaito1001 Feb 12, 2024
e3d383b
Use `identity_expiring_in` in tests
ysaito1001 Feb 12, 2024
5dcaa96
Rename `CacheKey::from` to `CacheKey::new`
ysaito1001 Feb 12, 2024
7ff4bda
Rename `inlineModule` to `s3ExpressModule`
ysaito1001 Feb 12, 2024
5698409
Prop test varying key sizes for hmac
ysaito1001 Feb 12, 2024
d281d49
Use arrayOf instead of listOf followed by toTypedArray
ysaito1001 Feb 12, 2024
86e33cc
Add `new` to `S3ExpressIdentityCache`
ysaito1001 Feb 12, 2024
cb41aa7
Add size/capacity of `S3ExpressIdentityCache` for debug
ysaito1001 Feb 12, 2024
948f474
Merge branch 's3express-allow-list-objects-v2-to-run' into s3express-…
ysaito1001 Feb 13, 2024
b5c7a9a
Include random 64 bytes when generating cache keys
ysaito1001 Feb 14, 2024
c87872d
Merge branch 'ysaito/s3express' into s3express-identity-cache
ysaito1001 Feb 17, 2024
d5d51cf
Remove incorrectly restored code after merge
ysaito1001 Feb 17, 2024
9b6565d
Remove incorrectly restored code after merge
ysaito1001 Feb 17, 2024
5086e61
Explain use of cryptographically insecure random generator
ysaito1001 Feb 20, 2024
f2fbae9
Improve logging for cache miss
ysaito1001 Feb 20, 2024
6dc9ade
Shorten integraton test name
ysaito1001 Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions aws/rust-runtime/aws-inlineable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ aws-smithy-runtime = { path = "../../../rust-runtime/aws-smithy-runtime", featur
aws-smithy-runtime-api = { path = "../../../rust-runtime/aws-smithy-runtime-api", features = ["client"] }
aws-smithy-types = { path = "../../../rust-runtime/aws-smithy-types", features = ["http-body-0-4-x"] }
bytes = "1"
fastrand = "2.0.0"
hex = "0.4.3"
http = "0.2.9"
http-body = "0.4.5"
hmac = "0.12"
lru = "0.12.2"
ring = "0.17.5"
sha2 = "0.10"
tokio = "1.23.1"
tracing = "0.1"

Expand Down
Loading
Loading