-
- Downloads
Implement `SsoTokenProvider` (#2917)
This PR adds a `SsoTokenProvider` that loads session name cached SSO tokens, and automatically refreshes them when possible. The `SsoCredentialsProvider` is updated to use this new `SsoTokenProvider` so that it is now compatible with the latest AWS CLI. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- .github/workflows/ci-tls.yml 1 addition, 1 deletion.github/workflows/ci-tls.yml
- .github/workflows/pull-request-bot.yml 1 addition, 1 deletion.github/workflows/pull-request-bot.yml
- CHANGELOG.next.toml 18 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-config/Cargo.toml 7 additions, 4 deletionsaws/rust-runtime/aws-config/Cargo.toml
- aws/rust-runtime/aws-config/external-types.toml 1 addition, 0 deletionsaws/rust-runtime/aws-config/external-types.toml
- aws/rust-runtime/aws-config/src/default_provider/credentials.rs 6 additions, 6 deletions...st-runtime/aws-config/src/default_provider/credentials.rs
- aws/rust-runtime/aws-config/src/imds/client/token.rs 5 additions, 1 deletionaws/rust-runtime/aws-config/src/imds/client/token.rs
- aws/rust-runtime/aws-config/src/lib.rs 1 addition, 1 deletionaws/rust-runtime/aws-config/src/lib.rs
- aws/rust-runtime/aws-config/src/profile/credentials/exec.rs 7 additions, 5 deletionsaws/rust-runtime/aws-config/src/profile/credentials/exec.rs
- aws/rust-runtime/aws-config/src/sso.rs 6 additions, 436 deletionsaws/rust-runtime/aws-config/src/sso.rs
- aws/rust-runtime/aws-config/src/sso/cache.rs 594 additions, 0 deletionsaws/rust-runtime/aws-config/src/sso/cache.rs
- aws/rust-runtime/aws-config/src/sso/credentials.rs 292 additions, 0 deletionsaws/rust-runtime/aws-config/src/sso/credentials.rs
- aws/rust-runtime/aws-config/src/sso/token.rs 865 additions, 0 deletionsaws/rust-runtime/aws-config/src/sso/token.rs
- aws/rust-runtime/aws-runtime/src/identity.rs 6 additions, 1 deletionaws/rust-runtime/aws-runtime/src/identity.rs
- aws/rust-runtime/aws-types/Cargo.toml 2 additions, 1 deletionaws/rust-runtime/aws-types/Cargo.toml
- aws/rust-runtime/aws-types/src/os_shim_internal.rs 62 additions, 12 deletionsaws/rust-runtime/aws-types/src/os_shim_internal.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt 2 additions, 1 deletion...src/main/kotlin/software/amazon/smithy/rustsdk/AwsDocs.kt
- aws/sdk/aws-models/sso-oidc.json 1590 additions, 0 deletionsaws/sdk/aws-models/sso-oidc.json
- rust-runtime/aws-smithy-runtime-api/src/client/identity.rs 12 additions, 3 deletionsrust-runtime/aws-smithy-runtime-api/src/client/identity.rs
- rust-runtime/aws-smithy-runtime-api/src/client/identity/http.rs 11 additions, 2 deletions...untime/aws-smithy-runtime-api/src/client/identity/http.rs
Loading
Please register or sign in to comment