Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
UserAuthCertificate
File Suffix and Directory Location
UserAuthCertificate components have the suffix .userAuthCertificate and are stored in the userAuthCertificates folder.
Version
UserAuthCertificate components are available in API version 50.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| developerName | string | Required: The name of the certificate with an underscore between words. |
| expirationDate | dateTime | Required. The date on which the certificate expires. |
| masterLabel | string | Required. A user-friendly name that you create for the certificate. Limited to 64 characters. |
| serialNumber | string | Required. The serial number for the certificate. |
| user | string | Required: The user’s name. |
Declarative Metadata Sample Definition
The following is an example of a UserAuthCertificate component.
1<UserAuthCertificate xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2 <content xsi:nil="true"/>
3 <developerName>ND_user_cert</developerName>
4 <expirationDate>2030-10-01T08:30:00.000Z</expirationDate>
5 <masterLabel>ND user cert</masterLabel>
6 <serialNumber>1401</serialNumber>
7 <user>005RM000001Zn1E</user>
8</UserAuthCertificate>The following is an example package.xml that references the previous definition.
1Package xmlns="http://soap.sforce.com/2006/04/metadata">
2 <types>
3 <members>*</members>
4 <name>UserAuthCertificate</name>
5 </types>
6 <version>50.0</version>
7</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.