You can retrieve or set the security configuration by sending a GET or POST request to http://<host>:<port>/artifactory/api/system/security
. For example:
Modifying the Security Descriptor
curl -u admin:password -X GET -H "Accept: application/xml" http://localhost:8080/artifactory/api/system/security curl -u admin:password -X POST -H "Content-Type: application/xml" --data-binary @security.xml http://localhost:8080/artifactory/api/system/security
Admin privileges
You must supply a user with Admin privileges to modify the security descriptor through the REST API