Example
Echo credentials in the certificate usercred.pem
:
curl -s --cert usercred.pem https://cn.dataone.org/cn/v2/diag/subject | xml fo
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:subjectInfo xmlns:ns2="http://ns.dataone.org/service/types/v1">
<person>
<subject>CN=Dave Vieglais A335,O=Google,C=US,DC=cilogon,DC=org</subject>
<givenName>Dave</givenName>
<familyName>Vieglais</familyName>
<equivalentIdentity>CN=David Vieglais A2105,O=University of Kansas,C=US,DC=cilogon,DC=org</equivalentIdentity>
<equivalentIdentity>http://orcid.org/0000-0002-6513-4996</equivalentIdentity>
<verified>true</verified>
</person>
<person>
<subject>http://orcid.org/0000-0002-6513-4996</subject>
<givenName>David</givenName>
<familyName>Vieglais</familyName>
<equivalentIdentity>CN=Dave Vieglais A335,O=Google,C=US,DC=cilogon,DC=org</equivalentIdentity>
<verified>false</verified>
</person>
</ns2:subjectInfo>
Echo credentials from bearer token: