ConnectApi.ExternalCredentialInput

Input used to create or update an external credential.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

PropertyTypeDescriptionRequired or OptionalAvailable Version
authentication​ProtocolConnectApi.​Credential​Authentication​ProtocolAuthentication protocol of the external credential. Values are:
  • AwsSv4
  • Basic
  • Custom
  • Jwt
  • OAuth
Required58.0
authentication​ProtocolVariantConnectApi.​Credential​Authentication​ProtocolVariantAuthentication protocol variant of the external credential. Values are:
  • AwsSv4_STS—AWS Signature Version 4 with Security Token Service.
  • ClientCredentialsClientSecret—OAuth 2.0 Client Credentials client secret. Client secrets are sent in the callout’s request body.
  • ClientCredentialsClientSecretBasic—OAuth 2.0 Client Credentials client secret. Client secrets are sent in the callout’s authorization header, as with Basic authentication.
  • ClientCredentialsJwtAssertion—OAuth 2.0 Client Credentials JSON Web Token assertion.
  • JwtBearer—OAuth 2.0 JSON Web Token bearer flow.
  • NoAuthentication—No authentication.
  • RolesAnywhere—AWS Signature Version 4 with Identity and Access Management (IAM) Roles Anywhere.
If specified, the authentication protocol variant must match the actual protocol variant of the external credential.
Optional58.0
customHeadersList<ConnectApi.​CredentialCustom​HeaderInput>List of credential custom headers.Optional58.0
developerNameStringFully qualified developer name of the external credential.Required for creating an external credential
Optional for updating an external credential
58.0
masterLabelStringExternal credential label.Required58.0
parametersList<ConnectApi.​ExternalCredential​ParameterInput>List of external credential parameters.Optional depending on authenticationProtocol and authenticationVariant58.0
principalsList<ConnectApi.​ExternalCredential​PrincipalInput>List of principals the credential has.Optional58.0