Skip to content

ConnectorAuthenticationSecretInput

A run input that chooses the secret a tool sends with its calls: a run gives the id of a secret, such as one per customer, and the tool sends its value in an HTTP header.

Kind: an object, used in requests and responses. In a request it is called ConnectorAuthenticationSecretInputInput.

FieldTypeRequiredDescription
externalOperationIduuidThe id of the tool whose calls send the secret.
agentIduuid | nullOnly the participant filled by this agent sends the secret. Null: every participant does.
defaultSecretIduuid | nullThe id of the secret sent when a run does not choose one. Null: none.
headerNamestringThe HTTP header the secret’s value is sent in, such as Authorization.
namestringyesThe input’s name: a run gives the input’s value under this name. Constraints: required (empty or whitespace-only strings are rejected).
descriptionstring | nullWhat the input is for, shown to whoever starts a run. Constraints: minLength: 1.
isRequiredbooleanWhether a run must give the input. A run started without a required input is refused.
{
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"agentId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"defaultSecretId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"headerName": "...",
"name": "...",
"description": "...",
"isRequired": false
}

Every field is present in a response; empty ones are null.

FieldTypeDescription
externalOperationIduuidThe id of the tool whose calls send the secret.
agentIduuid | nullOnly the participant filled by this agent sends the secret. Null: every participant does.
defaultSecretIduuid | nullThe id of the secret sent when a run does not choose one. Null: none.
headerNamestringThe HTTP header the secret’s value is sent in, such as Authorization.
namestringThe input’s name: a run gives the input’s value under this name. Constraints: required (empty or whitespace-only strings are rejected).
descriptionstring | nullWhat the input is for, shown to whoever starts a run. Constraints: minLength: 1.
isRequiredbooleanWhether a run must give the input. A run started without a required input is refused.
{
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"agentId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"defaultSecretId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"headerName": "...",
"name": "...",
"description": "...",
"isRequired": false
}