Password aliases are visible within the Fleet Management Lifecycle UI; however, the interface does not currently provide an option to modify or delete existing stored password aliases for management components.
VCF Operations 9.x
To remove a password alias, you must retrieve the internal vmid and use the Locker API via the Fleet Management Swagger UI.
touch /var/lib/vrlcm/UI_ENABLED
echo -n 'admin@local:<PASSWORD>' | base64
Note: Replace <PASSWORD> with the actual admin@local password and copy the resulting string for use in a later step.
pwAlias='EXAMPLE_PW'
rootPW=$(systemd-ask-password "Enter Fleet Manager root user password: ")
adminPW=$(systemd-ask-password "Enter Fleet Manager admin@local user password: ")
vmid=$(curl -sSk -u "admin@local:$adminPW" "https://localhost/lcm/locker/api/v2/passwords?aliasQuery=$pwAlias" | grep -Po '(?<=vmid\":\")[^\"]+')
echo $vmid
unset pwAlias adminPW vmid
2.private-internal-api from the specification dropdown menu.Authorize. In the Value field, enter the following:
Basic <Encoded_Token_from_Step_3>
DELETE /lcm/locker/api/passwords/{vmid} Try it out, enter the vmid you retrieved in Step 4, and click Execute.