APPAP004E Password object matching query Where to give permissions to SYS Account Name?

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

APPAP004E Password object matching query Where to give permissions to SYS Account Name?

L4 Transporter

APPAP004E Password object matching query [Safe=<SAFE NAME>;Folder=Root;Object=<SYS ACCOUNT NAME>] was not found (Diagnos

tic Info: 5). Please check that there is a password object that answers your query in the Vault and that both the Provid

er and the application user have the appropriate permissions needed in order to use the password.

 

1 accepted solution

Accepted Solutions

L4 Transporter

so issue was , Object name is not the <SYSTEM ACCOUNT NAME>, rather it is a string that gets constructed using platform etc.

 

 

View solution in original post

15 REPLIES 15

L5 Sessionator

Hi @Piyush Jain​ , you need to edit the <SAFE NAME> members and add the Provider (AIM agent account) as member with List + Retrieve + View owners and also add your Application (AIM AppID) as member with List + Retrieve.

L6 Presenter

Apart from Provider user, did you create a application ID under 'Application' tab and add to the safe where you have onboarded the credential?

L4 Transporter

Apart from Provider user, did you create a application ID under 'Application' tab and add to the safe where you have onboarded the credential?

yes, that's taken care.

hi HP,

Yes i created an application ID.

But what do you mean by "add to the safe where you have onboarded the credential?"

 

Also, i have 2 accounts, 1 which i had created long time back ( its working)

2nd i created recently and it throws mentioned error "APPAP004E Password object matching query [Safe=<SAFE NAME>;Folder=Root;Object=<SYS ACCOUNT NAME>] was not found (Diagnos

tic Info: 5). Please check that there is a password object that answers your query in the Vault and that both the Provid

er and the application user have the appropriate permissions needed in order to use the password."

L4 Transporter

so issue was , Object name is not the <SYSTEM ACCOUNT NAME>, rather it is a string that gets constructed using platform etc.

 

 

what did you enter to solve the issue?

L2 Linker

Hi How did you resolve the issue

 

Ensure that Object is same as SYS Account Name. Thanks & Regards, Piyush Jain Sr. Identity and Access Management Engineer, Enterprise Information Security.

L3 Networker

Hi,

I'm having same issue, in which i'm trying to retrieve a password object from a Safe. From the thread, i don't fully understand the answers. I couldn't find a way to include the APPID in the Safe. Also, what exactly "Provider (AIM agent account)" means?

I get:

 "ErrorCode": "APPAP004E",

    "ErrorMsg": "Password object matching query [Safe=ca-cyberark-integration-2;Object=restapipassword] was not found (Diagnostic Info: 9). Please check that there is a password object that answers your query in the Vault and that both the Provider and the application user have the appropriate permissions needed in order to use the password."

 

Any help would be much appreciated

Thanks

Eli

Eli, In the safe, where you have your account stored, the one you are pulling the credentials for, you need to add the prov_hostname and your AppID. Prov_hostname (AIM agent account) needs List + Retrieve + View owners permissions and your Application ID (AIM AppID) needs List + Retrieve permissions.

 

Hope this helps.

Greg

L3 Networker

Thanks Gregory,. I already figured that out.

Perhaps you can help me with another issue that I've been facing.

I'm trying to set up certificate authentication of my client application (Java JAR). I read lots of references but couldn't get it to work. I tried in the level of the IIS and also in the level of the Application Authentication based on the serial number of the certificate. When I copied the serial number to the Application authentication field on PVWA (‎for example, 5a 2e 3b e5 62 34 f9 92 41 c2 23 43 86 a5 b5 d5), i got error: "Only hexadecimal values are allowed....". I tried removing all spaces, but still same error.

Any idea?

Thanks

Eli

 

L1 Bithead

Though its a very old post, but i want to record my own resolution for the same error code. I hope it may help others. Me too had the similar issue "APPAP004E" and the resolution for this is to make sure the AIMWebservice and the CCP providers are having "View Safe Members" permission on the appropriate safe. Once i enable it, its started working.

L0 Member

this issue happen in many case:

 

  • they are rigth issue with your prov or appid
  • they are '' in the query like Query="Safe='mysafe';Folder=Root;Username='test_cache_aim'" do not use code in the query filter
  • 1 accepted solution
  • 15197 Views
  • 15 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!