Retrieving passwords using sdk setup issue. We seem to be missing a step

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

Retrieving passwords using sdk setup issue. We seem to be missing a step

L1 Bithead

We have the AIM component installed on a AIX server.  An application was set up​ with the OS user and machines.  The prov_ user has been added to the safe.  This works fine:

 

        -o Password`

        -p AppDescs.AppID=wcdvlsrv_refresh      \

        -p Query="Safe=OraDBacct-Prd;Folder=Root;Object=pcprdsrv.pcprd.sys" \

        -o Password`

 

but when I try to retrieve a different user it fails:

 

        -o Password`

        -p AppDescs.AppID=pctrnsrv_refresh      \

       -p Query="Safe=OraDBacct-Prd;Folder=Root;Object=pcprdsrv.pcprd.poc_if_hcs" \

        -o Password`

 

I can't find anywhere it specifies that only the one user can be retrieved.  The set up looks like I should be able to from machine_name as OSUser retrieve any password from the specified safe.

 

Can anyone help me?

9 REPLIES 9

L6 Presenter

what error does it show? can you post? also logs from appaudit and appconsole would be helpful.

L4 Transporter

what error does it show? can you post? also logs from appaudit and appconsole would be helpful.

L1 Bithead

​Here is the error:

APPAP100E Failed to connect the Provider to the Vault (Error: APPAP006E Failed to create Vault session from cred file </etc/opt/CARKaim/vault/appprovideruser.cred> (Error: ITACM043S Open communication with rcpvsrv01.rescare.ad has failed:       ITACM002S Unable to resolve rcpvsrv01.rescare.ad IP address Diagnostic Info: 1), Diagnostic Info: 2)

 

Where would I find logs from appaudit and appconsole?

It seems like the component cannot contact the vault to even retrieve the data. Have you checked your FW/network settings to the vault?

It seems like the component cannot contact the vault to even retrieve the data. Have you checked your FW/network settings to the vault?

L1 Bithead

I can retrieve the sys password but not the poc_if_hcs in the same session.

This works root@pctrnsrv:/> export PSWD=`/opt/CARKaim/sdk/clipasswordsdk getpassword \ -p AppDescs.AppID=pctrnsrv_refresh \ -p Query="Safe=OraDBacct-Prd;Folder=Root;Object=pcprdsrv.pcprd.sys" \ -o Password` echo $PSWD something But in the same session, this fails export PSWD=`/opt/CARKaim/sdk/clipasswordsdk getpassword \ -p AppDescs.AppID=pctrnsrv_refresh \ -p Query="Safe=OraDBacct-Prd;Folder=Root;Object=pcprdsrv.pcprd.poc_if_hcs" \ -o Password` APPAP100E Failed to connect the Provider to the Vault (Error: APPAP006E Failed to create Vault session from cred file </etc/opt/CARKaim/vault/appprovideruser.cred> (Error: ITACM043S Open communication with rcpvsrv01.rescare.ad has failed: ITACM002S Unable to resolve rcpvsrv01.rescare.ad IP address Diagnostic Info: 1), Diagnostic Info: 2) Patch 29141015 : applied on Thu Jul 11 05:01:12 EDT 2019

 

Hi @Kathy Harrod​ :- did you get solution or root cause for it?

@Ankush Agarwal​ :- please share your knowledge.

L1 Bithead

​I did figure it out.  It was a DNS issues preventing me from connecting.  Thank you!

  • 883 Views
  • 9 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!