[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
View Password V2
DescriptionThis API is used to view decrypted password in a password store. This requires to provide correct root password.
Request
URLURL
https://localhost:8080/lcm/locker/api/v2/passwords/{vmid}/decrypted
Path Parameters
Path Parameters
string
vmid
Required
vmid
Request Body
Request Body
{
"rootPassword": "locker:password:<vmid>:<alias>"
}
string
rootPassword
Optional
Root password
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
ViewPasswordResponseDTO
of type(s) */*, application/json
{
"password": "locker:password:<vmid>:<alias>",
"passwordVmid": "70821976-9bdb-4017-adaf-88f18c498b9e"
}
string
password
Optional
Password
string
passwordVmid
Optional
Password ID
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
GenericErrorResponseDTO
401
Unauthorized
403
Forbidden
GenericErrorResponseDTO
404
Not Found
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"rootPassword":"locker:password:<vmid>:<alias>"}' https://localhost:8080/lcm/locker/api/v2/passwords/{vmid}/decrypted
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
On This Page
Locker Password Controller Operations
post
patch
get
delete
post