Delete locker password entries in vRealize Suite Lifecycle Manager 8.x




As of now,  vRealize Lifecycle Manager 8.x do not have the UI option to delete the locker passwords from vRSLCM UI. The only option is to remove it via API. 


Step 1: For test purpose, I created a dummy credentials


Step 2 : Login to vRSLCM via Postman

  • If the login is successful, you will notice a "Login successfully"
Step 3: Copy the Authorization header


Step 4: List the existing passwords by running a GET 

https://vlcm_fqdn/lcm/locker/api/passwords/


  • Copy the "vmid" of the password you would like to delete 

Step 5 : Run the DELETE from CLI 

Note: this is not possible from the REST API client applications



curl -X DELETE 'http://localhost:8080/lcm/locker/api/passwords/79851802-b01e-4a5f-b8c5-2436f126cdcc' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'Authorization: Basic YWRtaW5AbG9jYWw6Vk13YXJlMTIzIQ== ' -k

  • replace the highlighted
  • After the command to DELETE is run, you can refresh the page to see the changes. 

Hope this helps 😀

Comments

Popular posts from this blog

vCloud director 9.7 appliance deployment step by step guide

How to Install and Uninstall Guest agent for vRA Windows machines

Unable to change Provider VDC virtual hardware support beyond version 10