policy import

Imports security policies.

Syntax

CLI

Use the maprcli security policy import command to import the exported security policies.

/opt/mapr/bin/maprcli security policy import
 -filename fileName  
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/security/policy/import?<parameters>

Parameters

Parameter

Description

filename The file that contains the policies to import. Policies are exported to this file when running the policy export command.
/opt/mapr/bin/maprcli security policy import -filename /tmp/polfile           
curl -u mapr:mapr -X GET  -k "https://host:8443/rest/security/policy/import?filename=/tmp/polfile