File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -160,17 +160,7 @@ java -cp target/rustfs-java-s3-demo-1.0-SNAPSHOT.jar com.example.RustfsS3Example
160160
161161> Presigned URL 允许客户端在不暴露凭据的情况下,临时访问私有对象,广泛用于浏览器直接上传或下载文件场景。
162162
163- #### 5.1.1 添加依赖(v2 SDK 的 URL 签名位于 ` s3-presigner ` 模块)
164-
165- ``` xml
166- <dependency >
167- <groupId >software.amazon.awssdk</groupId >
168- <artifactId >s3-presigner</artifactId >
169- <version >2.25.27</version >
170- </dependency >
171- ```
172-
173- #### 5.1.2 生成下载链接(GET)
163+ #### 5.1.1 生成下载链接(GET)
174164
175165``` java
176166import software.amazon.awssdk.services.s3.presigner.S3Presigner ;
@@ -203,7 +193,7 @@ System.out.println("Presigned URL: " + presignedRequest.url());
203193
204194> 🔗 使用浏览器打开链接,即可访问该对象。
205195
206- #### 5.1.3 上传 Presigned URL(PUT)
196+ #### 5.1.2 上传 Presigned URL(PUT)
207197
208198类似地,也可生成上传 URL:
209199
You can’t perform that action at this time.
0 commit comments