ExtlClntAppSamlConfigurablePolicies
Parent Type
File Suffix and Directory Location
ExtlClntAppSamlConfigurablePolicies components have the suffix .ecaSamlPlcy and are stored in the extlClntAppSamlConfigurablePolicies folder.
Version
ExtlClntAppSamlConfigurablePolicies components are available in API version 63.0 and later.
Special Access Rules
To use the ExtlClntAppSamlConfigurablePolicies type, you must have the View all External Client Apps, view their settings, and edit their policies user permission.
This type must be related to a parent ExternalClientApplication. Because external client apps with SAML configurations can't be packaged, the distributionState for the parent external client app must be set to Local.
The parent external client app must also have an associated ExtlClntAppConfigurablePolicies metadata type where the isSamlPluginEnabled field is set to true.
Fields
| Field Name | Description |
|---|---|
| acsUrl |
|
| certificate |
|
| commaSeparatedPermissionSet |
|
| commaSeparatedProfile |
|
| customAttributes |
|
| encryptionCertificate |
|
| encryptionType |
|
| entityUrl |
|
| externalClientApplication |
|
| issuer |
|
| label |
|
| nameIdFormat |
|
| signingAlgorithmType |
|
| singleLogoutBindingType |
|
| singleLogoutUrl |
|
| startUrl |
|
| subjectCustomAttribute |
|
| subjectType |
|
ExtlClntAppSamlConfigurablePoliciesAttribute
Represents custom attributes that provide more information about the user. The attributes are included in SAML assertions in SAML responses that Salesforce sends to the service provider.
| Field Name | Description |
|---|---|
| formula |
|
| key |
|
Declarative Metadata Sample Definition
The following is an example of an ExtlClntAppSamlConfigurablePolicies component.
1<?xml version="1.0" encoding="UTF-8"?>
2<ExtlClntAppSamlConfigurablePolicies xmlns="http://soap.sforce.com/2006/04/metadata">
3 <acsUrl>https://www.<serviceprovideracsurl>.com</acsUrl>
4 <entityUrl>https://www.<serviceproviderentityid>.com</entityUrl>
5 <externalClientApplication>mySamlEca</externalClientApplication>
6 <issuer>https://mydomainname.my.salesforce.com</issuer>
7 <label>myeca_samlpolicies</label>
8 <nameIdFormat>Unspecified</nameIdFormat>
9 <singleLogoutUrl>https://www.<serviceprovidersinglelogouturl>.com</singleLogoutUrl>
10 <singleLogoutBindingType>RedirectBinding</singleLogoutBindingType>
11 <subjectType>CustomAttribute</subjectType>
12 <subjectCustomAttribute>MyCustomField</subjectCustomAttribute>
13 <certificate>MIIDzDCCArQCCQCFaZKGsGqZ...</certificate>
14 <encryptionCertificate>MIIDzDCCArQCCQCFaZKGsGqZ...</encryptionCertificate>
15 <encryptionType>AES_128</encryptionType>
16 <signingAlgorithmType>SHA1</signingAlgorithmType>
17 <customAttributes>
18 <key>User Firstname</key>
19 <formula>$User.FirstName</formula>
20 </customAttributes>
21 <customAttributes>
22 <key>User Country</key>
23 <formula>$User.Country</formula>
24 </customAttributes>
25</ExtlClntAppSamlConfigurablePolicies>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>ExternalClientApplication</name>
6 </types>
7 <types>
8 <members>*</members>
9 <name>ExtlClntAppConfigurablePolicies</name>
10 </types>
11 <types>
12 <members>*</members>
13 <name>ExtlClntAppSamlConfigurablePolicies</name>
14 </types>
15 <version>63.0</version>
16</Package>Wildcard Support in the Manifest File
This metadata type supports 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.