Deleting Passwords using locker API in VCF Fleet Management for Management Components
search cancel

Deleting Passwords using locker API in VCF Fleet Management for Management Components

book

Article ID: 418016

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Users may notice that the Fleet Management interface in VCF does not include a delete option for stored passwords associated with management components.

Environment

VCF Fleet Management 9.x

Resolution

Need to delete the password using the Swagger UI. Follow the steps below to access, retrieve the password, and delete it.

  1. Access the Swagger UI by following the steps from this link
  2. Change the definition on Swagger UI to private-internal-api and authorize using the token retrieved by following the steps from above link
  3. Navigate to "Locker Password Controller Locker Password Operation APIs" and select it. Under that, click on GET /lcm/locker/api/passwords  API and select "Try it out" 



  4. Then click on execute to get the vmid of the password

     

  5. Then select DELETE /lcm/locker/api/passwords/{vmid} and select the Try It Out option. Provide the vmid collected from the previous step in the vmid string section and select execute



  6. Navigate back to the UI to verify if the password is deleted from the password list