Skip to content

object-store: support for client-side encryption on S3 #294

Description

@andrusha

On S3 when objects are client-side encrypted the encryption metadata is stored and transmitted through headers on GET and HEAD requests, which is required to decrypt objects on the client-side.

Currently the ObjectMeta does not support provider-specific metadata although it's already able to extract it from request headers.

Describe the solution you'd like
The minimal change would be to passthrough S3-specific client-side encryption metadata through the ObjectMeta, which could then by used by client.

Describe alternatives you've considered
The better solution would be to support content decryption within the library itself, however it would create dependencies on openssl or similar and add considerable amount of logic, which might limit the types of clients who would be able to use this library.

Additional context
I'm willing to author the change, but need guidance on the design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions