Skip to main content
Version: v42

TargetCredential

TargetCredential contains the credentials for authenticating to the API target.

typestringrequired

Credential type

Possible values: [basicauth, token, 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"

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