---
schema_version: "1"
id: 12e140ffe132de155d54907195fb8defd502b725e8d04293938c95edfea40abf
title: Sample Property List and JSON Configurations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/mobile_security_mdm_plist.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.mobile_security_mdm_plist.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ebe1a854ab1b02623ee1ccb7028fa7f213a871ec8bd19e5be6da1ea47c775996
description: One method of setting key-value pair assignments is through an XML property list, or plist. The plist contains the key-value pair assignments that an MDM provider sends to a mobile app to enforce security configurations. Another method of setting key-value pair assignments is through JSON.
products:
  - Security
  - Mobile App
  - Cross Cloud
release: "264"
---
# Sample Property List and JSON Configurations

One method of setting key-value pair assignments is through an XML property list, or plist. The plist contains the key-value pair assignments that an MDM provider sends to a mobile app to enforce security configurations. Another method of setting key-value pair assignments is through JSON.

## Sample Property List Configuration for iOS

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-mobile_security-264-0-0-production-enus/aa5de880-f40d-4478-acb7-729eee2b5d4e/images/icon_note.png)

Note Setting key-value pair assignments through a plist is only available on iOS.

The plist contains the key-value pair assignments that an MDM provider sends to a mobile app to enforce security configurations.

Here’s a sample plist.

```
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AppServiceHosts</key>
	<array>
		<string>host1</string>
		<string>host2</string>
	</array>
	<key>AppServiceHostLabels</key>
	<array>
		<string>Production</string>
		<string>Sandbox</string>
	</array>
	<key>RequireCertAuth</key>
	<true/>
	<key>ClearClipboardOnBackground</key>
	<false/>
	<key>OnlyShowAuthorizedHosts</key>
	<false/>
</dict>
</plist>
```

## Sample JSON Configuration for Android

On Android, you can set key-value pair assignments through JSON. Like a plist, JSON contains the key-value pair assignments that an MDM provider sends to a mobile app to enforce security configurations.

Here are a few JSON configuration samples.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-mobile_security-264-0-0-production-enus/aa5de880-f40d-4478-acb7-729eee2b5d4e/images/icon_note.png)

Note

The exact shape of the JSON depends on the MDM provider being used. For example, the values outside of the `managedProperty` key vary by MDM solution.

For a single host:

```
{
    "kind": "androidenterprise#managedConfiguration",
    "productId": "app:com.salesforce.chatter",
    "managedProperty": [
        {
            "key": "OnlyShowAuthorizedHosts",
            "valueBool": false
        },
        {
            "key": "AppServiceHostLabels",
            "valueString": "HostLabel"
        },
        {
            "key": "AppServiceHosts",
            "valueString": "https://host"
        }
    ]
}
```

For multiple hosts using comma-separated values:

```
{
    "kind": "androidenterprise#managedConfiguration",
    "productId": "app:com.salesforce.chatter",
    "managedProperty": [
        {
            "key": "OnlyShowAuthorizedHosts",
            "valueBool": false
        },
        {
            "key": "AppServiceHostLabels",
            "valueString": "HostLabel1,HostLabel2"
        },
        {
            "key": "AppServiceHosts",
            "valueString": "https://host1,https://host2"
        }
    ]
}
```

For multiple hosts using string arrays:

```
{
    "kind": "androidenterprise#managedConfiguration",
    "productId": "app:com.salesforce.chatter",
    "managedProperty": [
        {
            "key": "OnlyShowAuthorizedHosts",
            "valueBool": false
        },
        {
            "key": "AppServiceHostLabels",
            "valueString": ["HostLabel1,"HostLabel2"]
        },
        {
            "key": "AppServiceHosts",
            "valueString": ["https://host1","https://host2"]
        }
    ]
}
```