top of page

Fetching Environment Details from VMware Aria Suite Lifecycle using API


 

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





 

92 views2 comments

Recent Posts

See All

2 Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

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...

Like
Arun Nukula
Arun Nukula
Jul 01, 2023
Replying to

yes , possible. i will write a post on it by monday

Like
bottom of page