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-staticstrategy-other\",\n\t\"privateType\":\"YES\",\n\t\"secretType\":\"STATIC\",\n\t\"password\":\"othe798\",\n\t\"sapmGroupDbId\":85220,\n\t\"sapmConfigId\":83830,\n\t\"passwordChangePeriod\":\"25\"\n}"'