Skip to content

S3 PUT Presigned URL with metadata encoded as query params #2200

Open
@xstex

Description

@xstex

Describe the Feature

with v1 it was possible to create an S3 presigned URL having metadata encoded in query params.
I can't find this option on V2, so metadata can be set only through http headers (which I would avoid, since it puts more logic on the client side of my architecture)

Proposed Solution

I quickly checked the code, it seems that right now metadata is hardcoded as header as specified in PutObjectRequest:
METADATA_FIELD has MarshallLocation.HEADER (instead of QUERY_PARAM)

  • I may be able to implement this feature request

Your Environment

  • AWS Java SDK version used: v2.15.42
  • JDK version used: 1.8
  • Operating System and version: any

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions