1. A method, comprising: configuring, by a processor, an image for a managed entity having independent authentication and identity-based security; configuring an agent in the image to validate the image when installed, the agent removing itself once auditing and tracking features of the agent are satisfied in a target environment where the image is deployed and removing any runtime state associated with the agent upon completion of tasks associated with performing the auditing and tracking features and rolling back any changes made to the image to perform the auditing and tracking features when the agent removes itself, and wherein rolling back any changes made to the image further includes removing a test management agent from the image that was also inserted into the image for execution during a test mode of operation, and the test management agent disables a configuration tool that controls installation and system management when the test management agent operates in the test mode and when the test mode ends the test management agent re-enables the configuration tool and is removed from the image; and deploying the image with the agent to the target environment for installation.