Table of Contents |
---|
From opConfig 4.3.2, a new API with CRUD operations for credential sets is available under:
...
Code Block |
---|
{
"always_privileged": "0",
"description": "the default nmis user",
"lastupdate": 1645007389,
"password": "*****",
"setname": "testapi2",
"ssh_key": "",
"username": "nmis"
} |
Update
PUTĀ http://server/en/omk/opConfig/api/v1/credential_set/nmis
Returns the credential set (With the password obscured).
Request example:
Code Block |
---|
{"always_privileged": "0",
"description": "new description",
"lastupdate": 1625045906,
"setname": "nmis",
"ssh_key": "",
"username": "nmis",
"name": "testapi",
"password": "1234"
} |
Response:
Code Block |
---|
{
"always_privileged": "0",
"description": "new description",
"lastupdate": 1645007389,
"password": "*****",
"setname": "testapi2",
"ssh_key": "",
"username": "nmis"
} |
...