chore(server): update sign domain description (#11407)

This commit is contained in:
darkskygit
2025-04-02 12:58:03 +00:00
parent 1386a66579
commit 0f18585631
4 changed files with 92 additions and 43 deletions
+51 -21
View File
@@ -352,13 +352,23 @@
"type": "string",
"description": "The account id for the cloudflare r2 storage provider."
},
"signDomain": {
"type": "string",
"description": "The presigned domain for the cloudflare r2 storage provider."
},
"signKey": {
"type": "string",
"description": "The presigned key for the cloudflare r2 storage provider."
"usePresignedURL": {
"type": "object",
"description": "The presigned url config for the cloudflare r2 storage provider.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to use presigned url for the cloudflare r2 storage provider."
},
"urlPrefix": {
"type": "string",
"description": "The presigned url prefix for the cloudflare r2 storage provider.\nsee https://developers.cloudflare.com/waf/custom-rules/use-cases/configure-token-authentication/ to configure it.\nExample value: \"https://storage.example.com\"\nExample rule: is_timed_hmac_valid_v0(\"your_secret\", http.request.uri, 10800, http.request.timestamp.sec, 6)"
},
"signKey": {
"type": "string",
"description": "The presigned key for the cloudflare r2 storage provider."
}
}
}
}
}
@@ -463,13 +473,23 @@
"type": "string",
"description": "The account id for the cloudflare r2 storage provider."
},
"signDomain": {
"type": "string",
"description": "The presigned domain for the cloudflare r2 storage provider."
},
"signKey": {
"type": "string",
"description": "The presigned key for the cloudflare r2 storage provider."
"usePresignedURL": {
"type": "object",
"description": "The presigned url config for the cloudflare r2 storage provider.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to use presigned url for the cloudflare r2 storage provider."
},
"urlPrefix": {
"type": "string",
"description": "The presigned url prefix for the cloudflare r2 storage provider.\nsee https://developers.cloudflare.com/waf/custom-rules/use-cases/configure-token-authentication/ to configure it.\nExample value: \"https://storage.example.com\"\nExample rule: is_timed_hmac_valid_v0(\"your_secret\", http.request.uri, 10800, http.request.timestamp.sec, 6)"
},
"signKey": {
"type": "string",
"description": "The presigned key for the cloudflare r2 storage provider."
}
}
}
}
}
@@ -717,13 +737,23 @@
"type": "string",
"description": "The account id for the cloudflare r2 storage provider."
},
"signDomain": {
"type": "string",
"description": "The presigned domain for the cloudflare r2 storage provider."
},
"signKey": {
"type": "string",
"description": "The presigned key for the cloudflare r2 storage provider."
"usePresignedURL": {
"type": "object",
"description": "The presigned url config for the cloudflare r2 storage provider.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to use presigned url for the cloudflare r2 storage provider."
},
"urlPrefix": {
"type": "string",
"description": "The presigned url prefix for the cloudflare r2 storage provider.\nsee https://developers.cloudflare.com/waf/custom-rules/use-cases/configure-token-authentication/ to configure it.\nExample value: \"https://storage.example.com\"\nExample rule: is_timed_hmac_valid_v0(\"your_secret\", http.request.uri, 10800, http.request.timestamp.sec, 6)"
},
"signKey": {
"type": "string",
"description": "The presigned key for the cloudflare r2 storage provider."
}
}
}
}
}