Loading TOC...

MarkLogic 9 Product Documentation
sec:get-credential-by-id

sec:get-credential-by-id(
   $credential-id as xs:unsignedLong
) as element(sec:credential)

Summary

This function returns the specified PEM encoded X509 certificate.

Parameters
credential-id Credential id.

Example



xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";

sec:get-credential-by-id(3417729992254373588)
 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.