-
- Downloads
Implement initial lazy caching credentials provider (#578)
* Implement initial lazy caching credentials provider * Rename TimeProvider to TimeSource * Move TimeSource to its own module * Eliminate Inner layer and add expiry_mut to Credentials * Move Cache to its own module and fix multithreading issue * Add comments * Make refresh_timeout unimplemented * Combine Provider with LazyCachingCredentialsProvider * CR feedback
Showing
- aws/rust-runtime/aws-auth/Cargo.toml 8 additions, 4 deletionsaws/rust-runtime/aws-auth/Cargo.toml
- aws/rust-runtime/aws-auth/src/credentials.rs 5 additions, 0 deletionsaws/rust-runtime/aws-auth/src/credentials.rs
- aws/rust-runtime/aws-auth/src/provider.rs 3 additions, 0 deletionsaws/rust-runtime/aws-auth/src/provider.rs
- aws/rust-runtime/aws-auth/src/provider/cache.rs 133 additions, 0 deletionsaws/rust-runtime/aws-auth/src/provider/cache.rs
- aws/rust-runtime/aws-auth/src/provider/lazy_caching.rs 380 additions, 0 deletionsaws/rust-runtime/aws-auth/src/provider/lazy_caching.rs
- aws/rust-runtime/aws-auth/src/provider/time.rs 20 additions, 0 deletionsaws/rust-runtime/aws-auth/src/provider/time.rs
- aws/sdk/examples/sts/src/bin/credentials-provider.rs 9 additions, 4 deletionsaws/sdk/examples/sts/src/bin/credentials-provider.rs
Loading
Please register or sign in to comment