使用java SDK与kms的minio集成

moiiocjp  于 2021-06-30  发布在  Java
关注(0)|答案(0)|浏览(828)

我对minio还不熟悉,而且正在尝试使用 Java based SDKs (minio和/或amazon sdk)。
对于普通文件来说,它工作得很好,但是当我尝试用 SSE-C (即使用kms客户端提供的密钥id),我得到这个错误(在amazon sdk的情况下):

com.amazonaws.services.s3.model.AmazonS3Exception: A header you provided implies functionality that is not implemented (Service: Amazon S3; Status Code: 501; Error Code: NotImplemented; Request ID: 15ECD0D30FAA19D1; S3 Extended Request ID: fa2f2a07-5d03-4298-ae9c-9fe3e87c22e6), S3 Extended Request ID: fa2f2a07-5d03-4298-ae9c-9fe3e87c22e6     at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1695)  at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1350)    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1101)    at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:758)     at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:732)  at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:714)   at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:674)

我还使用minioclient在minio cookbook上尝试了示例代码,它仍然给出了notimplemented异常。
这个 KMS on MinIO 服务器是使用minio quickstart kms指南配置的。另外,sse使用kms自动加密似乎工作良好

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题