Skip to main content
Version: v43

TargetCredential

TargetCredential contains the credentials for authenticating to the API target.

typestringrequired

Credential type

Possible values: [basicauth, token, certificate, ephemeral-certificate]

basic_auth_usernamestring

Username for credentials of type "basicauth"

basic_auth_passwordstring

Password for credentials of type "basicauth"

bearer_tokenstring

Static bearer token for credentials of type "token"

certificatestring

Certificate for api target of type "certificate"

private_keystring

Private key for api target of type "certificate"

ephemeral_certificate_subjectstring

Certificate subject name pattern for credentials of type "ephemeral-certificate"

ephemeral_certificate_sanstring

Certificate subject alternative name pattern for credentials of type "ephemeral-certificate"

ephemeral_certificate_templatestring

Certificate template for credentials of type "ephemeral-certificate"

TargetCredential
{
"type": "basicauth",
"basic_auth_username": "string",
"basic_auth_password": "string",
"bearer_token": "string",
"certificate": "string",
"private_key": "string",
"ephemeral_certificate_subject": "string",
"ephemeral_certificate_san": "string",
"ephemeral_certificate_template": "string"
}