Skip to content

Retry loop does not refresh credentials after recent SRA identity&auth refactor #2965

Closed
@lucix-aws

Description

@lucix-aws

Before the I&A rewrite (#2364), credentials were retrieved in the Signing middleware. The rewrite moved that step out into a separate middleware that now occurs before the retry loop, meaning credentials are not refreshed within said loop as they should:

    Finalize stack step
        DisableAcceptEncodingGzip
        ResolveAuthScheme
>>>>>>> GetIdentity
        ResolveEndpointV2
        disableHTTPS
        AWSChecksum:ComputeInputPayloadChecksum
        ComputePayloadHash
        SigV4ContentSHA256Header
        spanRetryLoop
>>>>>>> Retry
        addInputChecksumTrailer
        RetryMetricsHeader
        setLegacyContextSigningOptions
        Signing

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p0This issue is the highest priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions