API to search Safes

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

API to search Safes

L4 Transporter

is there any API to search the safe against APP ID?

7 REPLIES 7

L1 Bithead

https://<IIS_Server_Ip>/PasswordVault/WebServices/PIMServices.svc/Applications/{AppID}

L5 Sessionator

Hi @s Sha​,

If you want to have the list of safes the AppID has access to:

$app = $token | Get-PASApplication -AppID TheAppIDOfYourApplication   $ApplicationRightsOnSafes = $token | Get-PASSafe | ForEach-Object { $token | Get-PASSafeMember -SafeName $_.SafeName | Where-Object {$_.Username -eq $app.AppID} } Write-Ouput $ApplicationRightsOnSafes

 

If you want to know which accounts this Application has access to, you then just need to search against the safes listed in $ApplicationRightsOnSafes:

$ApplicationRightsOnSafes | ForEach-Object { $SafeName = $_.SafeName $token | Get-PASAccount -filter "safeName eq $SafeName" }  

 

@Sebastien Siegl​ Thank you for sharing the details however, this one is the query rather than the API. i require the API.

@s Sha​ - from the information provided, multiple API calls will be required.

As per the answer from @Sebastien Siegl​ :

  1. Get Application
  2. Get Safes
  3. Get Safe Members

Hello @Pete Maan​  thank you for sharing your inputs however, from the first API i will get application detail only but for the get safe api it will share the details either of all the safes or will require me to specify some safe details whereas i am looking for the detail of those safes which are aligned to one specific app id.

@s Sha​ - I think you have been shown the way to collect the data which will allow you to find the answer. If you need a tool to list safes aligned to one specific app id - with the API's provided you can build it.

Thanks Pete

  • 469 Views
  • 7 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!