外部 provider 协议事实源与证据索引
维护、复核与升级规则。下表是协议依据和受影响位置,不代表云端已验收。访问失败的条目标记为 unverified;HTTP 可达也不等于内容已复核。
Schema: 1; 复核周期: 90 days.
alibaba_oss
Section titled “alibaba_oss”Connector: asterdrive.storage.alibaba_oss; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: OSS REST; OSS4-HMAC-SHA256; connector config V1.
SDK/transport: aws-sdk-s3@1.161.0, reqwest@0.13.5.
Code: src/storage/connectors/alibaba_oss.rs, src/storage/drivers/alibaba_oss/mod.rs.
Fixtures: src/storage/drivers/alibaba_oss/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 对象操作复用 S3 serializer,鉴权改为 OSS V4;不能把 AWS 协议当成 OSS 依据。 | api, v4 |
| 分片/续传 | 独立验证 initiate/part/list/complete/abort 及非末片限制。 | multipart |
| 签名/预签名 | 普通请求与 presigned 都覆盖最终 host/编码 key;公网与服务端 endpoint 分开。 | v4, presign |
| CORS | GetBucketCors/PutBucketCors 整体读合并写;20 条/16 KiB,保留 ResponseVary 与顺序,拒绝遮蔽。 | getcors, putcors |
| Range/ETag | Range、ETag 与条件请求依据 GetObject;ETag 不等同内容哈希承诺。 | get |
| 错误 | 按 status/code/request ID 脱敏映射,403 不能解释为对象不存在。 | errors |
| 权限 | 对象权限与 oss:GetBucketCors/oss:PutBucketCors 管理权限分开。 | api, getcors, putcors |
| 源站/上传/CDN/自定义域 | CNAME 是源站 API 别名;CDN Type A 是独立下载鉴权,上传与 CDN 另验。 | cname, cdn |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| OSS object API | OSS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed PutObject request headers, integrity checks and oss:PutObject permission table. |
| InitiateMultipartUpload | OSS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed POST ?uploads, UploadId response and oss:PutObject permission. This source covers initiation, not all part/completion limits. |
| OSS V4 signing | OSS V4 | 2026-11-06 | 2026-11-06 | verified: Reviewed OSS4-HMAC-SHA256 header format and aliyun_v4_request credential scope. |
| GetBucketCors | OSS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed GetBucketCors response, NoSuchCORSConfiguration 404 and AccessDenied 403. |
| PutBucketCors | OSS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed 20-rule / 16 KB limits, allowed fields, ResponseVary and full configuration PUT. |
| GetObject | OSS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed Range, conditional ETag/412, response overrides and object error table. |
| OSS GetObject errors and permissions | OSS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed GetObject errors and permission boundaries; no dead generic error-overview URL is retained. |
| OSS custom domains | OSS origin CNAME | 2026-11-06 | 2026-11-06 | verified: Reviewed bucket-bound CNAME/DNS mapping and origin access boundary; CDN remains separate. |
| CDN Type A | Alibaba CDN Type A | 2026-11-06 | 2026-11-06 | verified: Reviewed auth_key timestamp-rand-uid-md5hash format and encoded path signing. |
| OSS V4 query signing | OSS V4 query signing | 2026-11-06 | 2026-11-06 | verified: Reviewed V4 query parameters, expiration and UNSIGNED-PAYLOAD; URL signing differs from header signing. |
tencent_cos
Section titled “tencent_cos”Connector: asterdrive.storage.tencent_cos; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: COS XML API; AWS SigV4 object I/O; COS Q-Sign native operations.
SDK/transport: aws-sdk-s3@1.161.0, reqwest@0.13.5.
Code: src/storage/connectors/tencent_cos.rs, src/storage/drivers/tencent_cos/mod.rs.
Fixtures: src/storage/drivers/tencent_cos/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 基础对象 I/O 走 S3 兼容路径;原生 CI/CORS 使用 COS Q-Sign。 | api, sign |
| 分片/续传 | 独立验证 multipart 初始化、分片、完成、取消;不要把 CDN 用作上传入口。 | multipart |
| 签名/预签名 | Q-Sign 覆盖最终 Host 和原生 query;预签名后不能追加 CI 参数。 | sign, presign |
| CORS | bucket CORS 读合并写;100 条/64 KiB;仅 NoSuchCORSConfiguration 可视为空。 | cors, errors |
| Range/ETag | GET Object 定义 Range/ETag;独立验证源站和缓存命中响应。 | api |
| 错误 | 保留 status/code/request ID,拒绝把管理读取错误降级为空配置。 | errors |
| 权限 | 对象、CORS 和 CI 授权分开;不为 CNAME 验证额外请求域名管理权限。 | cors, cname |
| 源站/上传/CDN/自定义域 | bucket-bound CNAME 与下载 CDN 分开;Type D SHA-256 依据官方模型,页面 MD5 示例不可直接套用。 | cname, cdn, cdnmodel |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| COS GET Object | COS XML API | 2026-11-06 | 2026-11-06 | verified: Reviewed GET Object permissions, Range and conditional ETag handling. |
| COS multipart | COS XML API | 2026-11-06 | 2026-11-06 | verified: Reviewed POST ?uploads, UploadId and cos:InitiateMultipartUpload permission. |
| COS request signature | COS Q-Sign | 2026-11-06 | 2026-11-06 | verified: Reviewed SHA1 Q-Sign canonical inputs, header and query lists. |
| COS presigned URLs | COS XML API | 2026-11-06 | 2026-11-06 | verified: Reviewed final Host signing recommendation and temporary-credential lifetime boundary. |
| COS PUT Bucket cors | COS XML API | 2026-11-06 | 2026-11-06 | verified: Reviewed cos:PutBucketCORS, 100 rules, 64 KB XML and exposed header restrictions. |
| COS error codes | COS XML API | 2026-11-06 | 2026-11-06 | verified: Reviewed AccessDenied, AccessForbidden and NoSuchCORSConfiguration distinctions. |
| COS custom origin domains | COS origin CNAME | 2026-11-06 | 2026-11-06 | verified: Reviewed bucket custom-origin binding, CNAME/DNS and certificate activation boundary. |
| Tencent CDN Type D | CDN Type D | 2026-11-06 | 2026-11-06 | verified: Reviewed Type D URL shape and MD5 example; SHA-256 support is separately traced to the pinned official model. |
| Official CDN algorithm model | CDN API 2018-06-06; pinned commit | 2026-11-06 | 2026-11-06 | verified: Reviewed pinned official raw models.go: Authentication.AuthAlgorithm documents md5 and sha256. This supplements, rather than replaces, CDN specification. |
Connector: asterdrive.storage.qiniu; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Kodo native APIs; multipart v2; Qiniu v2 management auth; connector config V2.
SDK/transport: reqwest@0.13.5.
Code: src/storage/connectors/qiniu.rs, src/storage/drivers/qiniu/mod.rs.
Fixtures: src/storage/drivers/qiniu/tests.rs, src/storage/drivers/qiniu/cors/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 使用原生 stat/list/copy/delete、区域发现;不回退 S3。 | api, sdk |
| 分片/续传 | multipart v2 独立编号分片、查询、显式合并/取消;UpToken 限定 bucket/key。 | upload |
| 签名/预签名 | 管理 Qiniu v2 签名覆盖实际 Content-Type/body;下载使用最终 URL 的 e/token。 | auth, sdk, download, private_url |
| CORS | 独立 UC GET/POST /corsRules/{get,set}/{bucket};有序 JSON,全量保留再回读。 | cors, sdk |
| Range/ETag | 私有 GET/HEAD/Range 与附件 attname 分别验证;CDN 行为另验。 | download, api |
| 错误 | code/error/request ID 脱敏;鉴权失败、时效错误与不存在分别处理。 | errors |
| 权限 | UpToken 上传授权、RS/RSF 对象管理、UC CORS 和私有下载凭证各自独立。 | auth, cors, upload, private_url |
| 源站/上传/CDN/自定义域 | 区域上传域、RS/RSF、UC、私有源站、CDN 不混用;默认源站时效另有限制。 | api, download, sdk |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| Kodo native API overview | Kodo REST | 2026-11-06 | 2026-11-06 | verified: Reviewed native API catalog: list, stat metadata-only, chgm, move, copy, delete and batch endpoints. |
| Kodo multipart v2 | Kodo multipart v2 | 2026-11-06 | 2026-11-06 | verified: Reviewed multipart v2 API family; exact UC management requests are additionally checked against the pinned official source. |
| Kodo management authentication | Kodo management auth | 2026-11-06 | 2026-11-06 | verified: Reviewed Qiniu management signing inputs including Host, Content-Type, X-Qiniu headers and body. |
| Kodo download settings | Kodo private URL/attname | 2026-11-06 | 2026-11-06 | verified: Reviewed signed attachment attname URL encoding; private e/token authentication is a separate source. |
| Kodo CORS | Kodo UC CORS | 2026-11-06 | 2026-11-06 | verified: Reviewed default allow-all, maximum 10 rules, first matching ordered rule and required Origin/method/header conditions. 64 KiB is a Drive safeguard, not a documented provider quota. |
| Official Kodo API specifications | Pinned protocol reference; not runtime SDK | 2026-11-06 | 2026-11-06 | verified: Reviewed pinned storagev2 tree and api_get_bucket_cors_rules.go / api_set_bucket_cors_rules.go: GET/POST corsRules/get,set, ServiceBucket and TokenQiniu. Official source is supplementary to native API/CORS docs. |
| Kodo error responses | Kodo REST | 2026-11-06 | 2026-11-06 | verified: Reviewed 401 token/auth errors, 612 object absence, 631 bucket absence and 5xx handling guidance. |
| Kodo private download token | Kodo private URL/attname | 2026-11-06 | 2026-11-06 | verified: Reviewed private download e deadline, HMAC-SHA1, padded URL-safe Base64 and AK:signature token; attname is documented separately. |
azure_blob
Section titled “azure_blob”Connector: asterdrive.storage.azure_blob; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Blob REST 2023-11-03 for native SharedKey/SAS; SDK-selected version for SDK I/O.
SDK/transport: azure_storage_blob@1.1.0, azure_core@1.1.0, reqwest@0.13.5.
Code: src/storage/connectors/azure_blob.rs, src/storage/drivers/azure_blob/mod.rs.
Fixtures: src/storage/drivers/azure_blob/signing.rs, src/storage/drivers/azure_blob/cors/tests.rs, src/storage/drivers/azure_blob/cdn/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | SDK 对象请求与原生 SharedKey/SAS 的版本边界分开记录。 | api, sharedkey |
| 分片/续传 | block ID 与 Put Block/List 完成协议;不可当 S3 multipart uploadId。 | block |
| 签名/预签名 | SAS canonical resource 固定 /blob/account/container/key,文件名、MIME、缓存覆盖参与签名。 | sas |
| CORS | account Blob service CORS,不是 container 级;保留其他 service properties,最多 5 条规则。 | cors |
| Range/ETag | Get Blob 支持 Range/ETag;Front Door cache hit 与 SAS 过期不是同一时钟。 | api, cache |
| 错误 | 保留 x-ms-request-id 和脱敏错误码;区分对象操作与 service 管理失败。 | errors |
| 权限 | CORS 动作使用账号 key 的 service 管理权限;对象 SAS 不赋予配置 CORS 的权限。 | sharedkey, cors, sas |
| 源站/上传/CDN/自定义域 | 上传、服务端 I/O、管理走 Blob endpoint;Front Door 是独立 HTTPS 下载域,缓存和 query key 需另验。 | cdn, cache |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| Get Blob | Blob REST | 2026-11-06 | 2026-11-06 | verified: Reviewed Range/x-ms-range, ETag/conditions and object response headers. |
| Put Block | Blob REST | 2026-11-06 | 2026-11-06 | verified: Reviewed blockid request encoding and block staging semantics; multipart uploadId is not a Blob concept. |
| Create service SAS | Service SAS 2020-12-06+ string-to-sign | 2026-11-06 | 2026-11-06 | verified: Reviewed service SAS canonicalizedResource, signedVersion, 2020-12-06+ string-to-sign and rscc/rscd/rsct overrides. |
| SharedKey authorization | Blob SharedKey | 2026-11-06 | 2026-11-06 | verified: Reviewed SharedKey StringToSign, canonical headers/resources and account-level authorization. |
| Set Blob Service Properties | Blob service properties | 2026-11-06 | 2026-11-06 | verified: Reviewed StorageServiceProperties replacement, up to five CorsRule elements and deleting CORS by an empty set. |
| Blob error codes | Blob REST | 2026-11-06 | 2026-11-06 | verified: Reviewed BlobNotFound/ContainerNotFound and operation-specific status/code mappings. |
| Front Door storage scenario | Front Door Standard/Premium | 2026-11-06 | 2026-11-06 | verified: Reviewed client SAS, full query-string cache behavior, custom TLS domains and Premium Private Link boundary. |
| Front Door caching | Front Door cache contract | 2026-11-06 | 2026-11-06 | verified: Reviewed TTL and query-string caching; a cache lifetime is not client SAS authorization lifetime. |
onedrive
Section titled “onedrive”Connector: asterdrive.storage.onedrive; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Microsoft Graph v1.0; OAuth v2.0; connector config V1.
SDK/transport: reqwest@0.13.5.
Code: src/storage/connectors/onedrive.rs, src/storage/drivers/onedrive/mod.rs.
Fixtures: src/storage/drivers/onedrive/mod.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 对象定位按 drive/item 与路径编码;Blob 逻辑身份由 Drive 拥有。 | api, address |
| 分片/续传 | 顺序 Content-Range、320 KiB 倍数约束、nextExpectedRanges、查询/取消会话。 | upload |
| 签名/预签名 | OAuth bearer 用于 Graph;预授权 upload/download URL 是不同凭证边界,不追加 Graph bearer。 | oauth, api, upload |
| CORS | 无 bucket CORS 管理动作;浏览器会话和重定向下载响应要独立验收。 | api, upload |
| Range/ETag | Range 发往真实 download URL;条件 ETag 与重定向响应分别验证。 | api |
| 错误 | 按 HTTP 与 Graph error.code 映射,429 遵循 Retry-After,不泄露会话 URL。 | errors |
| 权限 | 委派/应用授权和个人/组织盘权限不同;以具体 API 的权限表为准。 | api, upload, oauth |
| 源站/上传/CDN/自定义域 | Graph 控制入口、会话 uploadUrl、短时 downloadUrl 不能替换为任意 CDN/自定义域。 | api, upload |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| Graph driveItem content | Graph v1.0 | 2026-11-06 | 2026-11-06 | verified: Reviewed 302 to preauthenticated downloadUrl, Range on actual download URL and API permission tables. |
| Graph upload sessions | Graph v1.0 | 2026-11-06 | 2026-11-06 | verified: Reviewed sequential ranges, 320 KiB alignment, nextExpectedRanges and no Authorization bearer on preauthorized PUT. |
| Microsoft OAuth authorization code | OAuth v2.0 | 2026-11-06 | 2026-11-06 | verified: Reviewed authorization-code flow, scopes, offline access and refresh_token response. |
| Graph errors | Graph REST | 2026-11-06 | 2026-11-06 | verified: Reviewed Graph status/error structure, throttling and Retry-After guidance. |
| Graph driveItem addressing | Graph v1.0 | 2026-11-06 | 2026-11-06 | verified: Reviewed drive/item identity versus path addressing and percent encoding. |
google_drive
Section titled “google_drive”Connector: asterdrive.storage.google_drive; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Drive REST v3; Google OAuth 2.0; connector config V1.
SDK/transport: reqwest@0.13.5.
Code: src/storage/connectors/google_drive.rs, src/storage/drivers/google_drive/mod.rs.
Fixtures: src/storage/drivers/google_drive/tests.rs, src/storage/drivers/google_drive/tests/boundaries.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | files 元数据与 alt=media 对象内容分开;共享盘显式 supportsAllDrives。 | api, shared |
| 分片/续传 | resumable 使用 Location/Content-Range、256 KiB 对齐和 308/Range;会话失效重新协商。 | upload |
| 签名/预签名 | OAuth 2.0 refresh/token 与 provider session URL 独立;没有 S3 presigned 支持。 | oauth, upload |
| CORS | 无 bucket CORS 管理动作;不得把 resumable 兼容性扩展为任意浏览器下载支持。 | upload, download |
| Range/ETag | Range 读取仅针对支持的二进制 media;Workspace 文档导出另有语义。 | download |
| 错误 | 区分 401、403 reason、404 与 429;不能将所有 403 都重试或当作不存在。 | errors |
| 权限 | drive.file、drive、appDataFolder 与共享盘范围不同;授权/管理员校验要对应当前根目录。 | scopes, shared |
| 源站/上传/CDN/自定义域 | Google API/upload endpoint 与 session Location 受约束;不提供任意 CDN/custom domain 交付。 | api, upload |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| Drive files reference | Drive v3 | 2026-11-06 | 2026-11-06 | verified: Reviewed files resource methods and capability metadata; blob content and logical product identity remain separate. |
| Manage uploads | Drive v3 resumable | 2026-11-06 | 2026-11-06 | verified: Reviewed resumable Location, nonfinal 256 x 1024-byte alignment, 308 and Range status recovery. |
| Download files | Drive v3 alt=media | 2026-11-06 | 2026-11-06 | verified: Reviewed alt=media and Range for blob content, and no partial downloads for Workspace export. |
| Web server OAuth | OAuth 2.0 | 2026-11-06 | 2026-11-06 | verified: Reviewed authorization-code and offline refresh-token flow. |
| Drive API scopes | Drive v3 OAuth scopes | 2026-11-06 | 2026-11-06 | verified: Reviewed drive.file, drive and appdata scopes and their permission boundaries. |
| Drive errors | Drive v3 | 2026-11-06 | 2026-11-06 | verified: Reviewed reason-specific 403/rateLimitExceeded, 404 and 429 handling. |
| Shared drives | Drive v3 supportsAllDrives | 2026-11-06 | 2026-11-06 | verified: Reviewed supportsAllDrives and includeItemsFromAllDrives query requirements. |
huawei_obs
Section titled “huawei_obs”Connector: asterdrive.storage.huawei_obs; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Native OBS SignatureObs; marker-based ListObjects; connector config V1.
SDK/transport: aws-sdk-s3@1.161.0, reqwest@0.13.5.
Code: src/storage/connectors/huawei_obs.rs, src/storage/drivers/huawei_obs/mod.rs.
Fixtures: src/storage/drivers/huawei_obs/tests.rs, src/storage/drivers/huawei_obs/cors/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 对象操作复用 S3 serializer,原生 SignatureObs;list 使用 marker,不用 ListObjectsV2。 | api, sign |
| 分片/续传 | init/part/list/complete/abort 均按 OBS 协议验证,不能只测 S3 serializer。 | multipart |
| 签名/预签名 | 普通与 query 签名都使用 OBS canonical/最终 host;不声称 AWS SigV4 兼容。 | sign, presign |
| CORS | 显式动作读合并写 bucket CORS,保留 ID、字段和顺序,拒绝遮蔽与未知配置。 | cors, overview |
| Range/ETag | Range/ETag 为对象 API 契约;CDN 200/206、缓存和头单独验收。 | overview |
| 错误 | OBS 原生 error code/status/request ID 脱敏;管理与对象请求分别映射。 | errors |
| 权限 | bucket CORS 管理权限与对象读写/私有回源授权分别验证。 | permissions, cors |
| 源站/上传/CDN/自定义域 | OBS-bound CNAME 是 API 源站;CDN Type A/SHA-256 只负责下载,上传仍用 OBS。 | presign, cdn |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| OBS ListObjects | OBS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed prefix/marker/max-keys and NextMarker listing contract; not S3 ListObjectsV2. |
| OBS Authorization header | SignatureObs | 2026-11-06 | 2026-11-06 | verified: Reviewed OBS Authorization and Base64(HMAC-SHA1(SK, StringToSign)) canonical inputs. |
| OBS presigned URL | SignatureObs query | 2026-11-06 | 2026-11-06 | verified: Reviewed pre-signed AK/signature/Expires delegation and expiration semantics. |
| OBS GetObject specification | OBS REST specification b5515cf03462beac5ab60af7bc3525ba6e8e667c | 2026-11-06 | 2026-11-06 | verified: Reviewed pinned official REST GetObject: Range, ETag of the whole object and response header overrides. |
| OBS CORS configuration | OBS REST specification b5515cf03462beac5ab60af7bc3525ba6e8e667c | 2026-11-06 | 2026-11-06 | verified: Reviewed pinned official REST CORS PUT: full XML, Content-MD5, rule fields/order and 100-rule boundary; specification mirror, not generated SDK. |
| Huawei CDN URL authentication | Huawei CDN Type A | 2026-11-06 | 2026-11-06 | verified: Reviewed Huawei CDN Type A auth_key and sha256 encoded-path construction. |
| OBS multipart initiation | OBS REST specification b5515cf03462beac5ab60af7bc3525ba6e8e667c | 2026-11-06 | 2026-11-06 | verified: Reviewed pinned official REST multipart initiation and UploadId response; remaining operations retain local fixtures. |
| OBS bucket permissions | OBS REST specification b5515cf03462beac5ab60af7bc3525ba6e8e667c | 2026-11-06 | 2026-11-06 | verified: Reviewed pinned official bucket authorization table: obs:bucket:GetBucketCORS and PutBucketCORS (set/delete). |
| OBS error codes | OBS REST | 2026-11-06 | 2026-11-06 | verified: Reviewed OBS error/status/request-ID response and AccessDenied/NoSuchKey distinctions. |
Connector: asterdrive.storage.s3; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Amazon S3 REST API 2006-03-01; AWS SigV4; compatible vendors require separate acceptance.
SDK/transport: aws-sdk-s3@1.161.0.
Code: src/storage/connectors/s3.rs, src/storage/drivers/s3/mod.rs.
Fixtures: src/storage/drivers/s3/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | S3 SDK 请求语义以 AWS 为依据;R2/MinIO 不能凭 S3 兼容标签视为同等支持。 | api, r2 |
| 分片/续传 | multipart 限制跟随供应商;独立验证分片完成/取消/最小片限制。 | upload, r2 |
| 签名/预签名 | presigned 使用 SigV4,签名凭据和临时 token 有效期可早于 URL 声明截止时间。 | sign |
| CORS | bucket CORS 在供应商侧配置;CORS 不赋予 IAM 权限,也不代表 CDN 生效。 | cors |
| Range/ETag | GetObject Range/If-Match/ETag 与 multipart ETag 分开处理,不假定 MD5。 | api |
| 错误 | status/code/request ID;AccessDenied 与 NoSuchKey 区分,SDK retry 不替代业务错误映射。 | errors |
| 权限 | GetObject/PutObject/DeleteObject/ListBucket 与 multipart 权限按实际操作最小授权。 | api, upload |
| 源站/上传/CDN/自定义域 | endpoint 是 S3 API;自定义下载域需要匹配实际签名/代理语义,不自动成为 CDN 上传域。 | sign, r2 |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| S3 GetObject | S3 API 2006-03-01 | 2026-11-06 | 2026-11-06 | verified: Reviewed Range, If-Match/ETag/412 and object permission requirements. |
| S3 multipart limits | S3 multipart | 2026-11-06 | 2026-11-06 | verified: Reviewed 10,000 parts, 5 MiB..5 GiB part range and final-part exception; vendor-specific limits remain separate. |
| S3 presigned URLs | AWS SigV4 | 2026-11-06 | 2026-11-06 | verified: Reviewed SigV4 presigned lifetime and earlier expiry with temporary credentials. |
| S3 CORS | S3 bucket CORS | 2026-11-06 | 2026-11-06 | verified: Reviewed first matching CORSRule and browser Origin/method/header matching; not an IAM grant. |
| S3 errors | S3 REST | 2026-11-06 | 2026-11-06 | verified: Reviewed Error response model, AccessDenied 403 and NoSuchKey 404; removed a soft redirect to generic API welcome. |
| R2 S3 compatibility | Cloudflare R2 S3 compatibility | 2026-11-06 | 2026-11-06 | verified: Reviewed R2 operation/header compatibility matrix; AWS compatibility is not a promise of every vendor feature. |
Connector: asterdrive.storage.sftp; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: SSH transport RFC 4253; SFTP v3 draft; connector config V1.
SDK/transport: russh@0.65.4, russh-sftp@4.0.0.
Code: src/storage/connectors/sftp.rs, src/storage/drivers/sftp.rs.
Fixtures: tests/storage/sftp.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | SSH 上的 SFTP v3 文件操作;host key 校验独立于用户密码。 | ssh, sftp |
| 分片/续传 | 服务端流式读写,不声明浏览器 multipart/resumable 能力。 | sftp |
| 签名/预签名 | 无 HTTP presigned;SSH 握手、主机指纹和凭据由连接器配置。 | ssh |
| CORS | 非 HTTP 协议,无 provider CORS;浏览器访问由 Drive 中继。 | sftp |
| Range/ETag | 偏移读取不等同 HTTP Range/ETag;HTTP 层合同由 Drive 提供。 | sftp |
| 错误 | SSH 连接失败与 SFTP status code 分别映射,权限拒绝不能视为文件不存在。 | ssh, sftp |
| 权限 | 账号和远端文件系统权限,不能套用 bucket/IAM 权限名。 | sftp |
| 源站/上传/CDN/自定义域 | sftp endpoint 与 base_path;没有源站/CDN/custom-domain 的 HTTP 能力声明。 | ssh, sftp |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| SSH transport | RFC 4253 | 2026-11-06 | 2026-11-06 | verified: Reviewed RFC 4253 server authentication, key exchange and transport integrity boundary. |
| SFTP v3 draft | draft-ietf-secsh-filexfer-02; not an RFC | 2026-11-06 | 2026-11-06 | verified: Reviewed SFTP v3 draft operations, offset READ/WRITE and SSH_FX_NO_SUCH_FILE versus PERMISSION_DENIED; explicitly not an RFC. |
Connector: asterdrive.storage.local; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Internal AsterDrive contract; not an external cloud provider.
SDK/transport: tokio@1.54.1.
Code: src/storage/connectors/local.rs, src/storage/drivers/local/mod.rs.
Fixtures: src/storage/drivers/local/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 内部文件存储合同,不借用外部云能力。 | internal |
| 分片/续传 | 按当前 descriptor 协商上传,内部实现与外部 resumable 区分。 | internal |
| 签名/预签名 | 内部鉴权/Drive URL 不构成外部 provider presigned 证明。 | internal |
| CORS | Drive HTTP CORS 与外部 bucket CORS 分开。 | internal |
| Range/ETag | Range/ETag 由内部文件协议及测试定义。 | internal |
| 错误 | 内部错误映射,不声称外部 provider 错误兼容。 | internal |
| 权限 | Drive 权限、文件系统或 follower 绑定是权威边界。 | internal |
| 源站/上传/CDN/自定义域 | 无外部云源站/上传域/CDN 自动继承;follower 能力由协商决定。 | internal |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| AsterDrive internal contract | Repository revision; not external provider evidence | 2026-11-06 | 2026-11-06 | verified: Reviewed current project contract ownership and local filesystem/product boundary; internal documentation, not external cloud acceptance. |
remote
Section titled “remote”Connector: asterdrive.storage.remote; owner: AsterDrive storage maintainers; fallback: repository maintainers; API: Internal storage protocol v7; minimum supported v7; not an external cloud provider.
SDK/transport: reqwest@0.13.5.
Code: src/storage/connectors/remote.rs, src/storage/drivers/remote/mod.rs.
Fixtures: src/storage/drivers/remote/tests.rs.
Cloud acceptance: not_recorded — No cloud acceptance record is asserted by this index; local fixtures and historical PR claims are separate evidence.
| 能力 | 结论与边界 | 官方依据 |
|---|---|---|
| 对象读写 | 内部文件存储合同,不借用外部云能力。 | internal |
| 分片/续传 | 按当前 descriptor 协商上传,内部实现与外部 resumable 区分。 | internal |
| 签名/预签名 | 内部鉴权/Drive URL 不构成外部 provider presigned 证明。 | internal |
| CORS | Drive HTTP CORS 与外部 bucket CORS 分开。 | internal |
| Range/ETag | Range/ETag 由内部文件协议及测试定义。 | internal |
| 错误 | 内部错误映射,不声称外部 provider 错误兼容。 | internal |
| 权限 | Drive 权限、文件系统或 follower 绑定是权威边界。 | internal |
| 源站/上传/CDN/自定义域 | 无外部云源站/上传域/CDN 自动继承;follower 能力由协商决定。 | internal |
| 依据 | 版本 | 访问尝试 | 内容复核 | 状态与说明 |
|---|---|---|---|---|
| AsterDrive internal contract | Repository revision; not external provider evidence | 2026-11-06 | 2026-11-06 | verified: Reviewed current local internal storage protocol v7, signing, follower binding and negotiated supports_range_read/upload capabilities. Documented version follows models.rs; no cloud inference. |