Add Vault Account
1 min
POST
{{url}}/aioc-rest-web/rest/sc/sapm/addSapmAccount
urlstring
Content-Typestring
Cookiestring
X-XSRF-TOKENstring
bodyobject
200<p>Add Vault Account(Dynamic Account)</p>
200<p>Add Vault Account (static strategy - other)</p>
200<p>Add Sapm Account (Static Strategy, SSL )</p>
200Add Vault Account
200<p>Add Vault Account(User Credential)</p>
200<p>Add Vault Account(Static Type, Dynamic Stategy)</p>
200<p>Add Vault Account -(Static Strategy SSH key)</p>
curl --request POST \
--url {{url}}/aioc-rest-web/rest/sc/sapm/addSapmAccount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--cookie {{netrightCookie}} \
--header 'x-xsrf-token: {{csrftoken}}' \
--data '"{\t\n\t\"secretName\":\"sapm-dynamic-type\",\n\t\"privateType\":\"YES\",\n\t\"secretType\":\"DYNAMIC\",\n\t\"sapmUserName\":\"root\",\n\t\"password\":\"root\",\n\t\"sapmGroupDbId\":85220,\n\t\"sapmConfigId\":82796,\n\t\"passwordChangePeriod\":\"25\",\n\t\"deviceId\":\"8cc08d2f-36f8-44fa-9c17-47ae77d1a70d\"\n}"'