How to check the content of conjur secret?

I used the following option

curl -H “$(conjur authn authenticate -H)” https:///secrets/common/keystores/keystore1

I am getting the below error message
{“error”:{“code”:“not_found”,“message”:“CONJ00076E Variable common:keystore1 is empty or not found.”}

any idea what did I miss out.

Hi,
Have you created this variable in policy and set a value?
Thanks.

Yes the variable exist and it is in use.

My requirement is to check whether the values exists after the values are uploaded to variable.
Good option to upload the values from a file and check whether the values exists after it is uploaded will work for me.

If the variable exists and is being used, then there must be some reason you’re getting a 404 error. Is the user/host you’re logged in as when requesting the variable authorized with the “read” and “execute” privileges on the variable?

Hi ,

Did you find to solution for this problem ? I have the same problem in the openshift follower.

Thanks