Skip to content

Commit

Permalink
fix: add s3-outpost as s3 signing service (#2915)
Browse files Browse the repository at this point in the history
  • Loading branch information
yenfryherrerafeliz authored May 7, 2024
1 parent dc228b5 commit 6fa270e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Signature/SignatureProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class SignatureProvider
private static $s3v4SignedServices = [
's3' => true,
's3control' => true,
's3-outposts' => true,
's3-object-lambda' => true,
's3express' => true
];
Expand Down
3 changes: 2 additions & 1 deletion tests/Signature/SignatureProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public function versionProvider()
['v4a', SignatureV4::class, 'eventbridge'],
['v4-s3express', S3ExpressSignature::class, 's3express'],
['v4-unsigned-body', SignatureV4::class, 'foo'],
['anonymous', AnonymousSignature::class, 's3']
['anonymous', AnonymousSignature::class, 's3'],
['s3v4', S3SignatureV4::class, 's3-outposts']
];
}

Expand Down

0 comments on commit 6fa270e

Please sign in to comment.