[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

View Password V2

Description

This API is used to view decrypted password in a password store. This requires to provide correct root password.

Request

Request

URL

URL


post
https://localhost:8080/lcm/locker/api/v2/passwords/{vmid}/decrypted
Copy

Path Parameters

Path Parameters

string
vmid Required

vmid


Request Body

Request Body

ViewPasswordRequestDTO of type(s) application/json Required

viewPasswordRequestDTO

{
    "rootPassword": "locker:password:<vmid>:<alias>"
}
string
rootPassword Optional

Root password

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response 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

Errors

Errors

GenericErrorResponseDTO
400

Bad Request


GenericErrorResponseDTO
401

Unauthorized


403

Forbidden


GenericErrorResponseDTO
404

Not Found


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

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
Feedback

Was this page helpful?