Class KnoluxS3Properties
java.lang.Object
com.knolux.s3.KnoluxS3Properties
Knolux S3 Spring Boot Starter 的靜態設定屬性。
所有屬性均以 knolux.s3 為前綴,作為動態請求的 fallback 預設值。
每個欄位都可在執行期間被 KnoluxS3OperationSpec 的對應欄位覆寫。
SeaweedFS 直連(K8s 內部)
knolux.s3:
endpoint: http://seaweedfs.seaweedfs.svc.cluster.local:8333
region: ap-northeast-1
bucket: my-bucket
access-key: ${S3_ACCESS_KEY}
secret-key: ${S3_SECRET_KEY}
自簽憑證 HTTPS
knolux.s3:
endpoint: https://s3.aic.org.tw
trust-self-signed: true
Nginx 反向代理(含路徑前綴)
knolux.s3:
endpoint: https://aic.csh.org.tw
remove-path-prefix: true
path-prefix: /cluster/s3
標準 AWS S3
knolux.s3:
region: us-east-1
force-path-style: false # AWS S3 用 virtual-hosted style
# endpoint 留空,SDK 使用 AWS 預設端點
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KnoluxS3Properties
public KnoluxS3Properties()
-