[{"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",
"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
Response
201 Created Response Body>
Response
200 OK Response Body>Response Body
200 OK
Returns
object
of type(s) */*
201 Created Response Body>
Response Body
201 Created
Returns
PasswordRequestResponseDTO
of type(s) */*
{
"alias": "Default Password for vCenters",
"createdOn": 1605791587373,
"lastUpdatedOn": 1605791587373,
"password": "PASSWORD****",
"passwordDescription": "This password is being used for all my vCenters",
"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
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
GenericErrorResponseDTO
409
Conflict
GenericErrorResponseDTO
500
Internal Server Error
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","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