Contents

AssetCredentialCertificate

A reference to one PKCS #1 or PEM encoded certificate.

Declaration

object AssetCredentialCertificate

Properties

NameTypeDescription
AuthenticationAssetCredentialCertificateAuthenticationObject

The server authentication details. If this key is absent, the default authentication type is MDM.

Reference RequiredAssetCredentialCertificateReferenceObject

The external reference. Ensure the asset data contains exactly one certificate. If the PEM data contains more than one certificate, the system installs the first certificate and ignores the rest. Ensure that the asset data uses a media type of application/pkcs1 or application/pem to correctly identify the type of encoded certificate. If the asset data includes a ContentType sub-key, set it to the corresponding media type.

Discussion

Specify com.apple.asset.credential.certificate as the declaration type.

Asset example

{
    "Type": "com.apple.asset.credential.certificate",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "Reference": {
            "DataURL": "https://example.com/asset-data/certificates/cert.pem",
            "ContentType": "application/pem"
        }
    }
}

Topics

Objects

See Also

Assets