- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to automate password rotation using the SDDC manager. This is probably more my ineptness at curl and postman, but I can't seem to get a token from the SDDC manager in postman. I can curl it from a linux command line, get the token and then use it in postman - but ultimately I want to take the postman code into a python script that I can run as part of the automation that will get the token, then use the token to get all the passwords after a password rotation and store them in CyberArk.
So I curl
curl -X POST -H "Content-Type: application/json" -d '{"username": "administrator@vsphere.local","password": "VMware123!"}' --insecure https://10.0.0.4/v1/tokens
and this returns me a token - I can then use that in postman. But when I try to put the above command into postman or translate it into a request in python, I just get