Skip to content

Commit ee22485

Browse files
committed
Links
1 parent 2bceca5 commit ee22485

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/fixtures/aws-fixture-utils/src/main/java/fixture/aws/AwsCredentialsUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public enum AwsCredentialsUtils {
2525

2626
/**
2727
* @return an authorization predicate that ensures the authorization header matches the given access key, region and service name.
28+
* @see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">AWS v4 Signatures</a>
2829
*/
2930
public static BiPredicate<String, String> fixedAccessKey(String accessKey, String region, String service) {
3031
return mutableAccessKey(() -> accessKey, region, service);
@@ -33,6 +34,7 @@ public static BiPredicate<String, String> fixedAccessKey(String accessKey, Strin
3334
/**
3435
* @return an authorization predicate that ensures the authorization header matches the access key supplied by the given supplier,
3536
* and also matches the given region and service name.
37+
* @see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">AWS v4 Signatures</a>
3638
*/
3739
public static BiPredicate<String, String> mutableAccessKey(Supplier<String> accessKeySupplier, String region, String service) {
3840
return (authorizationHeader, sessionTokenHeader) -> {
@@ -58,6 +60,7 @@ public static BiPredicate<String, String> mutableAccessKey(Supplier<String> acce
5860

5961
/**
6062
* @return an authorization predicate that ensures the access key, session token, region and service name all match the given values.
63+
* @see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html">AWS v4 Signatures</a>
6164
*/
6265
public static BiPredicate<String, String> fixedAccessKeyAndToken(String accessKey, String sessionToken, String region, String service) {
6366
Objects.requireNonNull(sessionToken);

0 commit comments

Comments
 (0)