From 1452485e5454b272a478516d8a94dc839d4d2a4a Mon Sep 17 00:00:00 2001 From: bruce szalwinski Date: Tue, 13 Feb 2024 00:11:48 -0600 Subject: [PATCH] log signed url --- signer/msk_auth_token_provider.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/signer/msk_auth_token_provider.go b/signer/msk_auth_token_provider.go index 1c2670d..6cc8edd 100644 --- a/signer/msk_auth_token_provider.go +++ b/signer/msk_auth_token_provider.go @@ -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 }