Skip to main content

Privacera Documentation

Table of Contents

Add UserInfo in S3 Requests sent via Data Access Server on PrivaceraCloud

This feature enables logging of the privacera-username trying to access the S3 data via Privacera Dataserver in the AWS Cloudwatch logs. You can see the privacera-username as a request parameter {privacera-user: callingUser} in the AWS CloudWatch Logs for the particular resource that the callingUser is trying to access.

  1. If you are updating an existing S3 application:

    1. Go to Settings > Applications > S3, and click the pen icon to edit properties.

    2. Click the toggle button of a service you wish to enable.

    3. In the the ADVANCED tab, add the following custom property.

      dataserver.aws.request.include.userinfo=true
      
    4. Click Save.

  2. Else, if you are connecting to a new AWS S3 Databricks connection, see Connect S3 to PrivaceraCloud.

    After creating S3 application.

    1. In the BASIC tab, provide Access Key, Secret Key, or an IAM Role. For more information, see Connect S3 to PrivaceraCloud.

    2. In the the ADVANCED tab, add the following custom property.

      dataserver.aws.request.include.userinfo=true
      
    3. Click Save