[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Create Password V2
DescriptionThis API is used to create a new password in a password store.
Request
URLURL
https://localhost:8080/lcm/locker/api/v2/passwords
Request Body
Request Body
{
"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"
}
string
alias
Optional
Password Alias
integer as int64
createdOn
Optional
integer as int64
lastUpdatedOn
Optional
string
password
Optional
Password Value
string
passwordDescription
Optional
Password Description
string
principal
Optional
boolean
referenced
Optional
string
transactionId
Optional
string
userName
Optional
Username associated with password
string
vmid
Optional
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Errors
401
Unauthorized
403
Forbidden
404
Not Found
Code Samples
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"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"}' https://localhost:8080/lcm/locker/api/v2/passwords
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
On This Page
Locker Password Controller Operations
post
patch
get
delete
post