Configuring JWT Authentication with AWS EMR¶
By default in AWS EMR Privacera user Kerberos for authentication. However, you can also configure to use JWT token for authentication. You can read about JWT token here.
Prerequisites¶
Prerequisite | Description |
---|---|
JWT Provider | You need to have a JWT provider that can generate JWT tokens. You can read more about here |
Privacera DataServer | You need to have a Privacera DataServer running. You can refer here to setup Privacera DataServer |
-
SSH to the server where Privacera Manager is installed.
-
Run the following command to navigate to the /config directory.
Bash -
Run the following command to open the .yml file to be edited.
Bash -
Add the below property to enable JWT authentication:
Bash -
Once the properties are configured, run the following commands to update your Privacera Manager platform instance:
Step 1 - Setup which generates the helm charts. This step usually takes few minutes.
Step 2 - Apply the Privacera Manager helm charts. Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on. -
After the
post-install
, create a new cluster with newly generated emr-template.json file from output directory.
JWT Auth Configuration is only supported Apache Spark in OLAC setup
Add EMR_JWT_OAUTH_ENABLE
in EMR bootstrap action script to enable JWT authentication.
privacera-emr-bootstrap-action-spark_olac
- Prev topic: Advanced Configuration