generate_presigned_url
Create time-limited access URLs for MinIO object storage files using specified HTTP methods (GET, PUT, DELETE). Ideal for secure, temporary access and sharing of stored objects.
Instructions
生成预签名URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucketName | Yes | 存储桶名称 | |
expires | No | 过期时间(秒) | |
method | No | HTTP方法 | GET |
objectName | Yes | 对象名称 |
Input Schema (JSON Schema)
{
"properties": {
"bucketName": {
"description": "存储桶名称",
"type": "string"
},
"expires": {
"default": 3600,
"description": "过期时间(秒)",
"type": "number"
},
"method": {
"default": "GET",
"description": "HTTP方法",
"enum": [
"GET",
"PUT",
"DELETE"
],
"type": "string"
},
"objectName": {
"description": "对象名称",
"type": "string"
}
},
"required": [
"bucketName",
"objectName"
],
"type": "object"
}