Exports security policies.
Use the maprcli security policy export command to export all
security policies from the master node. You can then use the policy import command to import policies.
/opt/mapr/bin/maprcli security policy export
| Request Type | GET |
| Request URL | |
None
The maprcli security policy export command dumps the security
policies to the standard output. Use redirection to redirect the output to a file. For
example, the following command redirects output to the /tmp/polfile
file.
/opt/mapr/bin/maprcli security policy export > /tmp/polfile
curl -u mapr:mapr -X GET -k "https://host:8443/rest/security/policy/export > /tmp/polfile