About the export operation

Call exportPolicy.sh script to export Ranger policies.

The exportPolicy.sh script performs the following tasks:
  • Reads the env.sh file and loads the input parameters values
  • Makes a CURL request to ranger/export JSON REST API and sends the required parameters
  • Downloads and saves the exported Ranger policies at the location provided in $EXPORT_OUTPUT_LOCATION. It also downloads and saves the exported Ranger services at the same location with the name exportedRangerServices.json