Interface S3CredentialsProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies S3Credentials for signing S3 requests.
Called per signing operation. The provider is responsible for caching and refreshing credentials — Hardwood does not cache them.
Implement as a lambda for static credentials:
S3CredentialsProvider provider = () -> S3Credentials.of("AKIA...", "secret");
Or use hardwood-aws-auth for the full AWS credential chain.
-
Method Summary
-
Method Details
-
credentials
S3Credentials credentials()Returns the current credentials.
-