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

List Passwords V2

Description

This API is used to get paginated list of passwords available in the store.

Request

Request

URL

URL


get
https://localhost:8080/lcm/locker/api/v2/passwords
Copy

Query Parameters

Query Parameters

array
aliasQuery Optional

aliasQuery


integer
from Optional

from


integer
size Optional

size


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK returns PasswordPageDTO of type(s) */*, application/json
{
	"page": 0,
	"passwords": [
		{
			"alias": "Default Password for vCenters",
			"createdOn": 1605791587373,
			"lastUpdatedOn": 1605791587373,
			"password": "PASSWORD****",
			"passwordDescription": "This password is being used for all my vCenters",
			"principal": "string",
			"referenced": false,
			"transactionId": "string",
			"userName": "administrator@vsphere.local",
			"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
		}
	],
	"total": 1
}
integer as int64
page Optional

Page


passwords Optional

integer as int64
total Optional

Total

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found

Code Samples

Code Samples

cURL Command

curl https://localhost:8080/lcm/locker/api/v2/passwords


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

Was this page helpful?