-
- Downloads
Support EKS Pod Identity credentials (#3416)
## Motivation and Context I would like to support EKS Pod Identity credentials in the Rust SDKs ## Description This brings the ECS provider in line with other sdks (eg, Go) by supporting AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE as well as permitting http IPs to be non-loopback if they are the EKS pod identity IPs. ## Testing I have added various new unit tests, and I have updated the existing integration test to also create pods with eks pod identity creds, which I have used to test in a real EKS cluster as well. ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --------- Signed-off-by:Jack Kleeman <jackkleeman@gmail.com> Co-authored-by:
John DiSanti <john@vinylsquid.com> Co-authored-by:
John DiSanti <jdisanti@amazon.com>
Showing
- .pre-commit-config.yaml 1 addition, 1 deletion.pre-commit-config.yaml
- CHANGELOG.next.toml 7 additions, 1 deletionCHANGELOG.next.toml
- aws/rust-runtime/aws-config/integration-tests/eks-credentials/README.md 7 additions, 3 deletions...me/aws-config/integration-tests/eks-credentials/README.md
- aws/rust-runtime/aws-config/integration-tests/eks-credentials/lib/eks-credentials-stack.ts 73 additions, 7 deletions...ration-tests/eks-credentials/lib/eks-credentials-stack.ts
- aws/rust-runtime/aws-config/integration-tests/eks-credentials/package-lock.json 384 additions, 40 deletions...onfig/integration-tests/eks-credentials/package-lock.json
- aws/rust-runtime/aws-config/integration-tests/eks-credentials/package.json 2 additions, 1 deletion...aws-config/integration-tests/eks-credentials/package.json
- aws/rust-runtime/aws-config/integration-tests/eks-credentials/test.rs 2 additions, 2 deletions...time/aws-config/integration-tests/eks-credentials/test.rs
- aws/rust-runtime/aws-config/src/default_provider/credentials.rs 3 additions, 0 deletions...st-runtime/aws-config/src/default_provider/credentials.rs
- aws/rust-runtime/aws-config/src/ecs.rs 256 additions, 45 deletionsaws/rust-runtime/aws-config/src/ecs.rs
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_credentials/env.json 6 additions, 0 deletions...tial-provider-chain/eks_pod_identity_credentials/env.json
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_credentials/fs/token.jwt 1 addition, 0 deletions...-provider-chain/eks_pod_identity_credentials/fs/token.jwt
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_credentials/http-traffic.json 87 additions, 0 deletions...ider-chain/eks_pod_identity_credentials/http-traffic.json
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_credentials/test-case.json 12 additions, 0 deletions...rovider-chain/eks_pod_identity_credentials/test-case.json
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_no_token_file/env.json 6 additions, 0 deletions...al-provider-chain/eks_pod_identity_no_token_file/env.json
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_no_token_file/http-traffic.json 5 additions, 0 deletions...er-chain/eks_pod_identity_no_token_file/http-traffic.json
- aws/rust-runtime/aws-config/test-data/default-credential-provider-chain/eks_pod_identity_no_token_file/test-case.json 7 additions, 0 deletions...vider-chain/eks_pod_identity_no_token_file/test-case.json
- aws/rust-runtime/aws-config/test-data/ecs-tests.json 27 additions, 0 deletionsaws/rust-runtime/aws-config/test-data/ecs-tests.json
Loading
Please register or sign in to comment