]> source.dussan.org Git - jgit.git/commit
AmazonS3: Add support for AWS API signature version 4 12/193712/6
authoreric.steele <eric.steele@workday.com>
Wed, 1 Jun 2022 01:03:17 +0000 (18:03 -0700)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 13 Jun 2022 07:44:23 +0000 (09:44 +0200)
commite9a5430c2557778bc6c43986527d57023090e781
treee5ccd333db2df6f2648efcc642781c741188fcb6
parent5efd32e91da44bd05ff14dd7b35eccbecf54a095
AmazonS3: Add support for AWS API signature version 4

Updating the AmazonS3 class to support AWS Signature version 4 because
version 2 is no longer supported in all AWS regions. The version can be
selected with the new 'aws.api.signature.version' property (defaults to
2 for backwards compatibility). When set to '4', the user must also
specify the AWS region via the 'region' property. The 'region' property
must match the region that the 'domain' property resolves to.

Bug: 579907
Change-Id: If289dbc6d0f57323cfeaac2624c4eb5028f78d13
org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/AmazonS3.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/AwsRequestSignerV4.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/util/HttpSupport.java