Skip to content

Commit

Permalink
Use default STS endpoints when using empty STS endpoint with IAM (#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramondeklein authored Jan 18, 2025
1 parent 2fd5a54 commit 113812b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/credentials/iam_aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ func (m *IAM) RetrieveWithCredContext(cc *CredContext) (Value, error) {
}

endpoint := m.Endpoint
if endpoint == "" {
endpoint = cc.Endpoint
}

switch {
case identityFile != "":
Expand Down

0 comments on commit 113812b

Please sign in to comment.