| Noticed this with archive and remote_file modules trying to download file from JFrog SaaS which performs a Direct Object redirect to the s3 bucket via a Signed URL. This seems to work fine on Mac/Linux but not on Windows. Also looks like in Puppet 6,7 moving this towards the file resource it still doesn't work with the Puppet HTTP client either. Not sure if this is a ruby upstream issue or bug for Puppet/Windows
{{Error: Could not set 'file' on ensure: Error 400 on SERVER: <?xml version="1.0" |
encoding="UTF-8"?> |
<Error><Code>InvalidArgument</Code><Message>Only one auth mechanism allowed; onl |
y the X-Amz-Algorithm query parameter, Signature query string parameter or the A |
uthorization header should be specified</Message><ArgumentName>Authorization</Ar |
gumentName> |
}} |
https://jfrog.com/knowledge-base/artifactory-how-to-resolve-a-400-bad-request-error-when-trying-to-download-or-resolve-artifacts/ |