Package org.saidone.config
Class S3Config
java.lang.Object
org.saidone.config.S3Config
@Configuration
@ConfigurationProperties(prefix="application.service.vault.storage.s3")
public class S3Config
extends Object
Configuration for the Amazon S3 client used as storage backend.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.s3.S3Client
s3Client()
Builds the Amazon S3 client used as storage backend.
-
Constructor Details
-
S3Config
public S3Config()
-
-
Method Details
-
s3Client
@Bean public software.amazon.awssdk.services.s3.S3Client s3Client()Builds the Amazon S3 client used as storage backend.If a custom endpoint is provided, it is configured and basic credentials are set when the endpoint targets localhost.
- Returns:
- configured
S3Client
-