Skip to content

Commit b1e2218

Browse files
authored
Revise presigned URL documentation structure (#72)
Updated section headers and removed dependency example for presigned URLs.
1 parent 2153d9f commit b1e2218

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

docs/developer/sdk/java.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,17 +160,7 @@ Good, below is the **RustFS AWS S3 Java SDK Advanced Features Example Supplement
160160

161161
> Presigned URLs allow clients to temporarily access private objects without exposing credentials, widely used for browser direct upload or download file scenarios.
162162
163-
#### 5.1.1 Add Dependencies (v2 SDK URL signing is in `s3-presigner` module)
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 Generate Download Link (GET)
163+
#### 5.1.1 Generate Download Link (GET)
174164

175165
```java
176166
import software.amazon.awssdk.services.s3.presigner.S3Presigner;
@@ -203,7 +193,7 @@ System.out.println("Presigned URL: " + presignedRequest.url());
203193

204194
> 🔗 Open the link in browser to access the object.
205195
206-
#### 5.1.3 Upload Presigned URL (PUT)
196+
#### 5.1.2 Upload Presigned URL (PUT)
207197

208198
Similarly, you can also generate upload URLs:
209199

0 commit comments

Comments
 (0)