Skip to content

pre-proposal: Add presign support #405

@Xuanwo

Description

@Xuanwo

As requested by #394, OpenDAL will add presign support so that our users can generate a resigned request to users without leaking the secret key.

Proposed changes:

presign will become a new capability as described in #404

  • Add presign support in Accessor: presign(path: &str, method: http::Method, headers: http::Headers, expires: Duration) -> SignedRequest
  • Expose public API via Operator: presign_{read,delete}with the same API.
    • write will not have content
    • list will not supported in this proposal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions