Step:1 Get the login token from VMware Aria Suite Lifecycle
Below table describes the data we need
Method | POST |
URL | {{lcmurl}}/lcm/authzn/api/login |
Authentication | Basic Auth ( admin@local & password ) |
When this API is executed , it generates a cookie which is stored under cookies section
Step:2 Execute VMware Aria Suite Lifecycle API's
Fetch Environment Details using API
Method | GET |
URL | {{lcm}}/lcm/lcops/api/v2/environments |
Authentication | Basic Auth ( admin@local & password ) |
Content-Type | application/json |
As seen above , we have all the details of globalenvironment. globalenvironment is nothing but VMware Identity Manager
Fetching VMware Aria Suite Lifecycle Version and System Informaiton
Method | GET |
URL | {{lcmurl}}/lcm/lcops/api/settings/systemsettings |
Authentication | Basic Auth ( admin@local & password ) |
Content-Type | application/json |
Is it possible to authenticate against LCM other than admin@local?
I tried to use an account in System Domain (manually created) but no luck. Not to mention directory accounts...
I see in the GUI session that auth is provided by JSESSIONID cookie, but not sure how to get one...