Jump to content

API - Getting details of entries without the password


Recommended Posts

Hello all.

 

I need to export some details of the entries we have in specific password lists, e.g. User Name, Description, Expiry Date,... I use the "searchpasswords" function for this.

In the exported data are also the passwords of the accounts. But I don't need and want to see the passwords.

Is there a way to exclude the password field when retrieving the entries?

Currently I filter the data in PowerShell and clean the variable asap afterwards. But it would be better, if the script wouldn't get the password at all.

 

Thank you in advanced.

KR Ralph

Link to comment
Share on other sites

Configure the API on the affected password list to return a blank value instead of the actual password.
List Administrator Actions > Edit Password List Properties > API Key & Settings > (tick) Return blank Password value

Link to comment
Share on other sites

6 hours ago, support said:

Hi Ralph,

 

The following in the API documentation will help with this.

 

api.png

 

Regards

Click Studios

 

Thank you for the quick reply. It works perfectly. Didn't see that option in the help.

 

KR Ralph

Link to comment
Share on other sites

6 hours ago, Sarge said:

Configure the API on the affected password list to return a blank value instead of the actual password.
List Administrator Actions > Edit Password List Properties > API Key & Settings > (tick) Return blank Password value

Thank you Sarge. This might be an option, but not for all of our passwords lists. Because in other scripts we need to retrieve the password over API calls, just not in this export.

Therefore the way with the "?ExcludePasswords=true" is the better solution for me.

 

KR Ralph

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...