We are looking for a RestAPI script to Add multiple safes using Postman or PowerShell. We are 11.7 Privilege Cloud. Any help would be great.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

We are looking for a RestAPI script to Add multiple safes using Postman or PowerShell. We are 11.7 Privilege Cloud. Any help would be great.

L0 Member

I have tried both and works great for creating one safe. I tried to use logic that was used for adding multiple accounts and getting error. How do i enter safes name that are mentioned in the CSV file in that code?Field_Content_versions_oct20__0682J00000CYtxJQAT.png

1 accepted solution

Accepted Solutions

L5 Sessionator

hi @Mrunal Patel​ 

There you go!

 

If you want to Create a list of safes from a file:

& .\Safe-Management.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -Add -FilePath "C:\Temp\safes-sample.csv"

 

https://github.com/cyberark/epv-api-scripts/tree/master/Safe%20Management

 

Life is easy -> Good Luck!!

 

 

View solution in original post

2 REPLIES 2

L5 Sessionator

hi @Mrunal Patel​ 

There you go!

 

If you want to Create a list of safes from a file:

& .\Safe-Management.ps1 -PVWAURL "https://myPVWA.myDomain.com/PasswordVault" -Add -FilePath "C:\Temp\safes-sample.csv"

 

https://github.com/cyberark/epv-api-scripts/tree/master/Safe%20Management

 

Life is easy -> Good Luck!!

 

 

@Nirmalkumar Dhanaraj​ On point. You are a charm. Thank you so much.

  • 1 accepted solution
  • 486 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!