IdentityProviderSettings
Represents the settings used to enable or disable Salesforce as a SAML identity provider for single sign-on (SSO).
This type extends Metadata and inherits its fields.
In the package manifest, all the settings metadata types for the org are accessed using the “Settings” name. See Settings for more details.
IdentityProviderSettings values are stored in the IdentityProvider.settings file in the settings folder. The .settings files are different from other named components, because there is only one settings file for each settings component.
Introduced in API version 57.0.
To access IdentityProviderSettings, a user must have the Customize Application user permission.
-
Type: string
-
Required: Yes
-
Description: Required.
The certificate that Salesforce uses to communicate with SAML SSO service providers, such as third-party service providers or another Salesforce org acting as a service provider. You can enter the name of a self-signed certificate or a certificate signed by a certificate authority.
-
Type: boolean
-
Required: Yes
-
Description: Required.
Indicates whether Salesforce can be used as a SAML identity provider (
true) or not (false).
The following is an example of an IdentityProviderSettings component. In this example, Salesforce is enabled as a SAML identity provider.
The following is an example package.xml that references the previous definition.
This metadata type doesn’t support the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.