Skip to content

How do I log the signature process ? #372

Answered by dscpinheiro
riftsin asked this question in Q&A

You must be logged in to vote

It's more verbose, but you can enable debug logging by using this:

Add-AWSLoggingListener -Name debuglogs -LogFilePath "C:\temp\pwsh-logs.txt"
Set-AWSResponseLogging Always
Enable-AWSMetricsLogging

Get-S3Bucket

One limitation is that the .NET SDK (which as you noted PowerShell uses behind the scenes) doesn't support logging the request body, but you should be able to see the canonical request we're sending and the response received.

What exactly are you looking for when you say "signature process"?

Replies: 5 comments 1 reply

You must be logged in to vote
0 replies
Answer selected by riftsin

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@dscpinheiro

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants