Skip to content

Configuring JWT for Authentication in EMR

Pre Read

You should read how Privacera uses JWT for authentication before proceeding with this topic.

Prerequisites:

  1. JWT provider should be configured in Privacera Manager. Refer to the Configuring JWT Providers for more information.

Configuration

Go to the Privacera Manager directory and edit the EMR configuration file to enable JWT authentication.

Bash
cd ~/privacera/privacera-manager
vi config/custom-vars/vars.emr.yml

Add following property to enable JWT for EMR:

Bash
EMR_JWT_OAUTH_ENABLE: "true"
After all the changes are done you need to update the helm chart, apply the changes and also run the post install steps

Bash
1
2
3
cd ~/privacera/privacera-manager
./privacera-manager.sh setup
./pm_with_helm.sh upgrade 

Run the following command to run the post install steps:

Bash
cd ~/privacera/privacera-manager
./privacera-manager.sh post-install

Comments