ConnectApi.ExternalCredential

External credential, including the named credentials and principals associated with it and the type and status of each principal.

If you don’t have the View Setup and Configuration permission, some properties are empty or show limited information.

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.

Property NameTypeDescriptionAvailable Version
authenticationProtocolConnectApi.​CredentialAuthentication​ProtocolAuthentication protocol of the external credential. Values are:
  • AwsSv4
  • Basic
  • Custom
  • Jwt
  • OAuth
56.0
authenticationProtocol​VariantConnectApi.​CredentialAuthentication​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.
57.0
authenticationStatusConnectApi.​CredentialAuthentication​StatusStatus of the credential authentication.56.0
createdByNamespaceStringNamespace of the package that created the external credential.59.0
customHeadersList<ConnectApi.​CredentialCustom​Header>List of custom headers.57.0
developerNameStringFully qualified developer name of the external credential.56.0
idStringExternal credential ID.58.0
masterLabelStringExternal credential label.56.0
parametersList<ConnectApi.​ExternalCredential​Parameter>List of parameters of the external credential.57.0
principalsList<ConnectApi.​ExternalCredential​Principal>List of principals the credential has.56.0
relatedNamed​CredentialsList<ConnectApi.​NamedCredential>List of named credentials associated to the external credential.56.0
urlStringConnect REST API URL for the external credential.58.0

See Also