Contents

AirPlaySecurity

The payload that configures Apple TV for a particular style of AirPlay security.

Declaration

object AirPlaySecurity

Properties

NameTypeDescription
AccessType Requiredstring

The access policy for AirPlay.

ANY allows connections from both Ethernet, Wi-Fi, and Apple Wireless Direct Link.

WIFI_ONLY allows connections only from devices on the same Ethernet or Wi-Fi network as Apple TV.

Passwordstring

The AirPlay password; required if SecurityType is PASSWORD.

SecurityType Requiredstring

The security policy for AirPlay. Allowed values:

  • PASSCODE_ONCE: Requires an onscreen passcode on first connection from a device. Subsequent connections from the same device aren’t prompted.

  • PASSCODE_ALWAYS: Requires an onscreen passcode for every AirPlay connection. After an AirPlay connection ends, the system allows reconnecting within 30 seconds without a password.

  • PASSWORD: Requires the passphrase set for Password.

Discussion

Specify com.apple.airplay.security as the payload type.

Profile availability

Device channel

tvOS

User channel

N/A

Allow manual install

tvOS

Requires supervision

N/A

Requires user-approved MDM

N/A

Allowed in user enrollment

N/A

Allow multiple payloads

N/A

Profile example

<?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>PayloadContent</key>
    <array>
        <dict>
            <key>Password</key>
            <string>MyPassword</string>
            <key>PayloadIdentifier</key>
            <string>com.example.myairplaysecuritypayload</string>
            <key>PayloadType</key>
            <string>com.apple.airplay.security</string>
            <key>PayloadUUID</key>
            <string>c0b60f19-91c7-482e-9a95-6ba71220d93e</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>SecurityType</key>
            <string>PASSWORD</string>
            <key>AccessType</key>
            <string>ANY</string>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>AirPlay Security</string>
    <key>PayloadIdentifier</key>
    <string>com.example.myprofile</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>40dc47ea-41c9-4c79-8b30-a027cf6eacd6</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

See Also

AirPlay