Due to certain constarins we are able to get just “guest user” access to F5, We want to do the following:
1. Copy config files to the shared location, API: POST:https://xx.xx.xx.xx/mgmt/tm/util/bash/ Payload : {“command”: “run”,“utilCmdArgs”: “-c \“cp /config/monitors/builtins/gtm_base_monitors.conf /shared/images/gtm_base_monitors.conf\””} Issue :Hence the guest user don’t have previlage to access “/mgmt/tm/util/bash/” API, the files are not copied to shared location.
If you only need it one time then you would likely either have to increase the role for your account, or ask someone with the appropriate access to obtain the file for you.
@Surya_Kant_Pasa Josh is correct, this is not possible without an admin role. What some companies have done is use BIG-IQ or build an intermediary application where those that need details can request something with limited scope, and that app, with proper permissions, can retrieve the details.