Repository navigation
fix(aws): preserve STS identity query output - #4669
Open
PavanaSakethaRam wants to merge 1 commit into
Open
PavanaSakethaRam wants to merge 1 commit into
PavanaSakethaRam wants to merge 1 commit into
Conversation
📊 Automated PR Analysis
SummaryFixes a bug in the AWS CLI STS identity filter where using Review Checklist
Linked issues: #4662 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
Signed-off-by: Pavan Saketh Ram <[email protected]>
PavanaSakethaRam
force-pushed
the
fix/issue-4662-20261019204805-6784a5b4
branch
from
October 19, 2026 21:39
8dd8a24 to
7818b08
Compare
This was referenced Oct 19, 2026
PavanaSakethaRam
marked this pull request as ready for review
October 20, 2026 05:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aws sts get-caller-identitythrough to AWS unchanged when the caller supplies--queryor an explicit--outputformat. This preserves projected values, requested formatting, stderr, and exit status.AWS: <account> <arn>summary for calls without those options.The STS formatter expects an object with
AccountandArn. A query can return an array, scalar, or null, while forcing JSON also overrides an explicit text format. Routing those requests through the existing passthrough path preserves the AWS CLI response.Fixes #4662
Validation
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --locked --offlinecargo test --workspace --locked --offlinecargo clippy --no-default-features --all-targets --locked --offlinecargo test --no-default-features --locked --offlinecargo doc --no-deps --locked --offlineValidation ran in the Linux Rust 1.99.1 worker image with a local AWS CLI stand-in; no live AWS credentials were required.