File tree Expand file tree Collapse file tree 2 files changed +14
-22
lines changed Expand file tree Collapse file tree 2 files changed +14
-22
lines changed Original file line number Diff line number Diff line change @@ -247,22 +247,33 @@ endpoints:
247
247
"username": "myusername2",
248
248
}' \
249
249
https://$api_root/$version/managed/credentials/$credential_id
250
- /managed/credentials/$id/password :
250
+ /managed/credentials/$id/update :
251
251
group : Credentials
252
252
type : resource
253
253
authenticated : true
254
254
description : >
255
- Change the password for a credential.
255
+ Change the username and password for a credential.
256
256
methods :
257
257
POST :
258
258
response : ManagedCredential
259
259
description : >
260
- Changes the password for a credential.
260
+ Changes the username and password for a credential.
261
+ params :
262
+ username :
263
+ optional : True
264
+ description : New username to set for this credential.
265
+ value : myusername
266
+ type : String
267
+ password :
268
+ description : New password to set for this credential.
269
+ value : mypassword
270
+ type : String
261
271
examples :
262
272
curl : |
263
273
curl -H "Content-Type: application/json" \
264
274
-H "Authorization: Bearer $TOKEN" \
265
275
-X POST -d '{
276
+ "username": "myusername",
266
277
"pasword": "mypassword",
267
278
}' \
268
279
https://$api_root/$version/managed/credentials/$credential_id/password
Original file line number Diff line number Diff line change @@ -14,22 +14,3 @@ schema:
14
14
value : CredentialLabel
15
15
description : >
16
16
A unique Label describing the credential.
17
- username :
18
- type : String
19
- value : myusername
20
- description : >
21
- An optional login username.
22
- last_decryption :
23
- type : Object
24
- description : >
25
- The username and datetime of the last login using this credential.
26
- who :
27
- type : String
28
- value : myusername
29
- description : >
30
- The username of the last successful login.
31
- when :
32
- type : Datetime
33
- value : 2017-10-31T11:12:21
34
- description : >
35
- The datetime of the last successful login.
You can’t perform that action at this time.
0 commit comments