This function creates a new security
credential with the specified values.
Parameters
name
A name for this
credential.
description
A description
for this credential.
username
An optional username
for this credential.
password
An optional password
for this credential.
certificate
An optional PEM
encoded certificate for this credential.
private-key
An optional PEM
encoded private key for this credential.
signing
Whether this
credential may be used for signing certificates.
targets
Any targets that
this credential may be used to access.
permissions
Permissions for who
can access this credential. Read allows viewing of the
credential, including encrypted keys. Execute only allows
use of the credential. Read implies execute.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.