Setup for Lake Formation Push Mode - Access Management¶
This section describes how to set up the AWS Lake Formation connector in push mode. Make sure you have completed the prerequisites before you start the setup.
Perform following steps to configure AWS Lake Formation connector using Push mode:
-
SSH to the instance where Privacera is installed.
-
Run the following command to navigate to the /config directory.
Bash -
Run the following command to create a new directory:
Bash -
Run the following command to copy the sample vars:
Bash -
Run the following command to open the .yml file to be edited.
Bash -
Modify the following properties:
-
CONNECTOR_LAKEFORMATION_AWS_ACCOUNT_ID
- Enter the AWS Account ID of the account you will be running the AWS Lake Formation connector. -
CONNECTOR_LAKEFORMATION_AWS_REGION
- Set AWS region to connect to your AWS Lake Formation instance. -
CONNECTOR_LAKEFORMATION_ENABLE_PUSH_POLICIES_TO_RANGER
- Set this to true, if you want to push policies to other policy repositories. -
CONNECTOR_LAKEFORMATION_SINK_HIVE_SERVICE_APP_ID
- Set the policy repository name where you want the connector to push policies for the hive.
-
-
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
-
In PrivaceraCloud, go to Settings -> Applications.
-
On the Applications screen, select Lakeformation Push Mode.
-
Enter the application Name and Description. Click Save. Name could be any name of your choice. E.g.
AWS Lake Formation Connector for account 123456
. -
Open the AWS Lake Formation application.
-
Enable the Access Management option with toggle button.
-
Under the BASIC tab, enter the values for:
-
AWS Account ID :
12345XXX
-
AWS Assume IAM Role ARN :
Use the role ARN created for the AWS Lake Formation connector.
-
AWS Region : e.g.
us-east-1
-
Click SAVE.
-
The configured AWS Lake Formation connector appears under Applications.
-
Once saved and enabled, the AWS Lake Formation connector will start. Then you can hover on the VIEW LOGS button to check the status, either Running or Stopped.
-
Perform following steps to restart the AWS Lake formation connector application:
-
Go to Settings → Applications → select the****Lake formation** connector application** .
-
Edit the application → Disable it → and Save it.
-
Open the same application again and then: Enable it → and Save it.
-
- Prev topic: Prerequisite
- Next topic: Advance Configurations