About the export operation
exportPolicy.sh script to export Ranger policies.
exportPolicy.shscript performs the following tasks:
- Reads the
env.shfile 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