Skip to content

KMS-encrypted S3 Transfers with S3 Events enabled not possible with IAM user #113

Open
@kaplanan

Description

@kaplanan

Use case: Using DTH to transfer any changes made to the source S3 bucket into the corresponding destination bucket in cn-north-1. The source S3 bucket is in the same account as the DTH, however, it is KMS encrypted. That is, the vanilla S3 Transfer Task for Source Buckets in the current region will not work for this scenario. One possible solution to this is described in Issue #73

The approach is to create an IAM User in the source bucket account and pass the credentials for it to the DTH S3 Transfer Task. For doing so, one must select "Is bucket in this account?" with "No" in the Source Settings. This will disable the option to listen to S3 events from the source bucket as "Enable S3 Event?" will not be available when selecting that the source bucket is not in the current account.

Expected behavior

We should make sure that either:

  • One may add credentials from ASM even if the source S3 bucket is in the current account or
  • The "Enable S3 Event" is still an available option for source buckets "outside" of the current account

  • Version: v2.4.0
  • Region (source): eu-central-1
  • Region (destination): cn-north-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions