Create requests must include an info field and may include a secrets field.
The contents of a secrets field vary by credential type.
The allowedApiClients field is reserved for future use.
info (object, required)
A container object for credential information.
name (string, required)
The credential name.
type (string, required)
The credential type.
m365 — Microsoft 365
pagerDuty — PagerDuty
servicenowOAuth — ServiceNow IT Operations Management OAuth
slack — Slack
usernamePassword — Username and password
zoom — Zoom
description (string, optional)
Text about the credential.
tags (array, optional)
A list of arbitrary terms to associate with the credential.
usedBy (object, optional)
A container for collections and destinations objects (either or both).
collections (object, optional)
A container for an ids array
(a list of connector identifiers).
destinations (object, optional)
A container for an ids array
(a list of destination identifiers).
ids (array, optional)
A list of connector or destination identifiers that use the credential.
secrets (object, optional)
A container object for secret credential information.
clientID (string, required)
(type = m365 only) The client ID from the Essentials area on the
home page of your Microsoft 365 app registration.
clientSecret (string, required)
(type = m365 only) The client secret from the Certificates & secrets
page of your Microsoft 365 app registration.
routingKey (string, required)
(type = pagerDuty only) A PagerDuty Integration Key.
clientId (string, required)
(type = servicenowOAuth only) The ServiceNow ID for your integration with Zenoss Cloud.
clientSecret (string, required)
(type = servicenowOAuth only) The ServiceNow secret for your integration with Zenoss Cloud.
token (string, required)
(type = slack only) A Slack bot token for the Zenoss Slack app.
username (string, required)
(type = usernamePassword only) A user account name.
password (string, required)
(type = usernamePassword only) A user account password.
accountId (string, required)
(type = zoom only) The account ID of your Zoom OAuth app.
clientId (string, required)
(type = zoom only) The client ID of your Zoom OAuth app.
clientSecret (string, required)
(type = zoom only) The client secret of your Zoom OAuth app.
If you include both an info field and a secrets field in an update
request, their contents completely replace the credential's record on
the server. However, if you do not include a secrets field in an
update request, the existing secrets field (if any) is unchanged.