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.
| Property Name | Type | Description | Available Version |
|---|---|---|---|
| authenticationProtocol | ConnectApi.CredentialAuthenticationProtocol | Authentication protocol of the external credential. Values are:
|
56.0 |
| authenticationProtocolVariant | ConnectApi.CredentialAuthenticationProtocolVariant | Authentication protocol variant of the external credential. Values are:
|
57.0 |
| authenticationStatus | ConnectApi.CredentialAuthenticationStatus | Status of the credential authentication. | 56.0 |
| createdByNamespace | String | Namespace of the package that created the external credential. | 59.0 |
| customHeaders | List<ConnectApi.CredentialCustomHeader> | List of custom headers. | 57.0 |
| developerName | String | Fully qualified developer name of the external credential. | 56.0 |
| id | String | External credential ID. | 58.0 |
| masterLabel | String | External credential label. | 56.0 |
| parameters | List<ConnectApi.ExternalCredentialParameter> | List of parameters of the external credential. | 57.0 |
| principals | List<ConnectApi.ExternalCredentialPrincipal> | List of principals the credential has. | 56.0 |
| relatedNamedCredentials | List<ConnectApi.NamedCredential> | List of named credentials associated to the external credential. | 56.0 |
| url | String | Connect REST API URL for the external credential. | 58.0 |