cancel
Showing results for 
Search instead for 
Did you mean: 

Maintain user credential in Security Material CPI - upload ?

vijaymanikandan
Contributor
0 Kudos

Hi

Is there any way to upload multiple users and password in the security Material of CPI using Excel or notepad? We have to maintain around 30-40 user credentials. Just looking for an easier approach instead of maintaining one by one.

Br,

Vijay V

View Entire Topic
Sriprasadsbhat
Active Contributor
Dear Vijay,

There is no tool as such.But you can leverage below API for mass update of credentials provided you have input data in either in XML or JSON.

https://api.sap.com/api/SecurityContent/resource

You can perform POST operation below url

https://<TMN_URL>/cpi/api/v1/UserCredentials

Sample JSON input:

{
  "Name": "credentials name",
  "Kind": "default, successfactors or openconnectors",
  "Description": "descrption",
  "User": "user",
  "Password": "password",
  "CompanyId": "successfactors: company ID"
}

Regards,

Sriprasad Shivaram Bhat

vijaymanikandan
Contributor
0 Kudos

Hi

Thanks. I tried this and it did work but when I tried to update multiple users it fails. Not sure if its a format issue.

{
  "Name": "credentials name",
  "Kind": "default",
  "Description": "TEst",
  "User": "user1",
  "Password": "password",
  "CompanyId": "company ID"
},

{
  "Name": "credentials name1",
  "Kind": "default",
  "Description": "Test2",
  "User": "user2",
  "Password": "password",
  "CompanyId": "company ID"
}


Br,

Vijay V