You can just use the normal database get. Credentials are inside the openrpa collection with {"_type" : "credential"}
openrpa
{"_type" : "credential"}