diff options
author | eric.steele <eric.steele@workday.com> | 2022-05-31 18:03:17 -0700 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-06-13 09:44:23 +0200 |
commit | e9a5430c2557778bc6c43986527d57023090e781 (patch) | |
tree | e5ccd333db2df6f2648efcc642781c741188fcb6 /org.eclipse.jgit.test | |
parent | 5efd32e91da44bd05ff14dd7b35eccbecf54a095 (diff) | |
download | jgit-e9a5430c2557778bc6c43986527d57023090e781.tar.gz jgit-e9a5430c2557778bc6c43986527d57023090e781.zip |
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
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties b/org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties index d540977e94..3f36282b9e 100644 --- a/org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties +++ b/org.eclipse.jgit.test/tst-rsrc/jgit-s3-config.disabled.properties @@ -40,6 +40,15 @@ # * https://docs.aws.amazon.com/AmazonS3/latest/dev/manage-lifecycle-using-console.html # +# AWS API signature version (defaults to 2) +# aws.api.signature.version=4 + +# AWS S3 Region Domain (defaults to s3.amazonaws.com) +# domain: s3-us-east-2.amazonaws.com + +# AWS S3 Region (required if aws.api.signature.version=4, must match domain) +# region: us-east-2 + # Test bucket name test.bucket=jgit.eclipse.org |