Skip to content

InstructionFile vs MetaData #355

@janSchumacherPayments

Description

@janSchumacherPayments

Problem:

In the context of client-side encryption using a customer-provided encryption key (Java, AES, SSE-C), the AWS SDK v1 offers the option to use instruction files to store the encryption metadata. This supports a cost-efficient way of rotation the client-side key (See AWS blog).

Now with the AWS SDK v1 being in maintenance mode, it is suggested to migrate to this library. According to the documentation, the V3 library supports decryption of encrypted files that use instruction files. However, it is mentioned in the 'legacy' section and it seems as if it's not possible to encrypt new files using the instruction files.

Moving forward, what is the recommended way to implement client-side encryption with this library? Are instruction files not recommended anymore? Relying on object metadata instead of instruction files makes it more expensive to rotate the client-side key because the metadata is immutable and a copy of the file is required.

Solution:

Clarification on the usage of instruction files. Are they future-proof? If not, is there a different (cheap) way to rotate client-side keys?

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