Forum Discussion
Jeff_41411
Altocumulus
Aug 15, 2016Call TMSH script with a curl command?
I am trying to allow some users access to a simple TMSH script on our GTM's. I've looked through various documents and I can't find exactly what I need. Has anyone done this, and if so can you provid...
R_Marc
Nimbostratus
Aug 15, 2016I think you need a 11.6 or better, but here's an example:
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X POST https://localhost/mgmt/tm/util/bash -d "{\"command\":\"run\",\"utilCmdArgs\":\"-c 'tmsh list sys crypto csr test.csr'\"}" | python -m json.tool
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects