Skip to content

Commit

Permalink
log signed url
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-szalwinski-he committed Feb 13, 2024
1 parent 896b3e8 commit 1452485
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions signer/msk_auth_token_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ func constructAuthToken(ctx context.Context, region string, credentials *aws.Cre
return "", 0, fmt.Errorf("failed to add user agent to the signed url: %w", err)
}

if AwsDebugCreds {
logCallerIdentity(ctx, region, signedURLWithUserAgent)
}

return base64Encode(signedURLWithUserAgent), expirationTimeMs, nil
}

Expand Down

0 comments on commit 1452485

Please sign in to comment.