Configuring Object Event Notification Across Multiple Regions
    • 26 Jun 2024
    • 1 Minute to read
    • PDF

    Configuring Object Event Notification Across Multiple Regions

    • PDF

    Article summary

    Follow the instructions below if you want to configure object notifications for buckets located in regions other than US-EAST-1.

    1. Using PostMan (https://www.postman.com/), create a new API entry for PUT AWS Credentials specifying an S3 endpoint that includes the region where the bucket exists. For example:

    2. Select the Authorization tab, as shown below, and select the AWS Signature as the Type.
    3. Enter the Wasabi account AccessKey and SecretKey for the account that owns the Wasabi S3 bucket for which you want to configure Object Event Notifications.
    4. For the AWS Region, enter the Wasabi region of the S3 bucket and be sure the Service Name value is set to s3.

    5. Select the Body tab and select Raw for the body encoding format:

    6. Enter the AWS credentials that you want to add to the selected Wasabi account to the body of the PUT request.
      While configuring AWS keys, the region must match the SNS configuration region set up in AWS.
      When setting credential permissions in AWS (ec2:DescribeRegions and sns:ListTopics), you must give permission to access the AWS resources.

      The AWS credentials are specified in XML format and should be similar to the following:

      <?xml version="1.0" encoding="UTF-8"?>
      <AWSCredentials>
          <Credentials>
              <Region>us-east-1</Region>
              <AccessKeyID>YOURACCESSKEY</AccessKeyID>
              <SecretAccessKey>YOURSECRETKEY</SecretAccessKey>
          </Credentials>
      </AWSCredentials>

      For example:

    7. Click the Send button and confirm that a 200 OK response is received, indicating the AWS credentials were successfully set for the specified Wasabi account. For example:

    8. In order to confirm that the AWS credentials were successfully set for the Wasabi account, you can create a new API for GET AWS Credentials.

      — Repeat Step 1 above, but select GET as the operation. Specify the same URL.

      — Enter the same Wasabi credentials as in Step 2.

      — Skip Step 3 because Body is not required for this GET operation.

      — Click the Send button. Confirm that a 200 OK response is received, indicating the AWS credentials were successfully retrieved for the specified Wasabi account.

      — Confirm that the AWS AccessKey returned in the Body of the response matches what was specified in the PUT operation.

      The SecretKey is intentionally omitted from the response body for security purposes.


    Now, you should be able to successfully configure Event Notifications for the bucket in the remote region, and you should be able to select the credentials for the AWS region that you configured with these instructions.