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
VMware Cloud Foundation has a number of Public APIs, the documentation around this can easily be found by logging into the SDDC Manager UI and selecting the Developer Center. From here you can even execute an API on the running system.
VMware Cloud Foundation has a number of Public APIs, the documentation around this can easily be found by logging into the SDDC Manager UI and selecting the Developer Center. From here you can even execute an API on the running system.
thanks, I hadn't noticed the explorer... it had the snippet of code I needed to put into the body.
This is handy to if you want to pull all the SDDC Manager APIs into Postman: Create VMware Cloud Foundation API Collection in Postman – My Cloudy World (my-cloudy-world.com)
