# Creating the config.plist file for SafeDNS Endpoint Lite on macOS

#### <span style="font-weight: 400;">Use this guide to create the </span>**Config.plist**<span style="font-weight: 400;"> file on target macOS devices before deploying SafeDNS Endpoint Lite.</span>

#### **1. Add the AuthKey to the script**

<span style="font-weight: 400;">Open [**create-conf.sh**](https://docs.safedns.com/attachments/9)</span><span style="font-weight: 400;"> and replace **"123zZGNlOGYtN2Nokd00M2ZlLWAKD2UtNTU000NlNjc5Maaa" (line 9)**</span><span style="font-weight: 400;"> with your **Base64-encoded AuthKey**.</span>

```






LOG_FILE="/var/log/safedns-installer.log"

AUTH_KEY="123zZGNlOGYtN2Nokd00M2ZlLWAKD2UtNTU000NlNjc5Maaa" — the part to modify
DEVICE_NAME=$(scutil --get ComputerName 2>/dev/null || hostname)
```

<p class="callout warning">**It won't work with the sample key from the original script** </p>

#### **2. Upload the script to SimpleMDM**

1\. Go to **Scripts  
[![macos_instruction1.png](https://docs.safedns.com/uploads/images/gallery/2026-05/scaled-1680-/Mx6XTa26lfpTByBY-macos-instruction1.png)](https://docs.safedns.com/uploads/images/gallery/2026-05/Mx6XTa26lfpTByBY-macos-instruction1.png)**

<span style="font-weight: 400;">2. Click on **Create Script  
[![macos_instruction2.png](https://docs.safedns.com/uploads/images/gallery/2026-05/scaled-1680-/AvCtllV1nuaddewH-macos-instruction2.png)](https://docs.safedns.com/uploads/images/gallery/2026-05/AvCtllV1nuaddewH-macos-instruction2.png)**  
  
</span>

<span style="font-weight: 400;">3. Give it a name, for example </span>**SafeDNS\_Installer**<span style="font-weight: 400;">, upload the updated </span>**create-conf.sh**<span style="font-weight: 400;">, and click </span>**Save**<span style="font-weight: 400;">.</span>

#### **3. Run the script on target devices**

<span style="font-weight: 400;">1. Go to </span>**Jobs**<span style="font-weight: 400;"> &gt; </span>**Create Job**<span style="font-weight: 400;">.</span>

<span style="font-weight: 400;">[![macos_instruction3.png](https://docs.safedns.com/uploads/images/gallery/2026-05/scaled-1680-/nqIZRq7eQczih7f7-macos-instruction3.png)](https://docs.safedns.com/uploads/images/gallery/2026-05/nqIZRq7eQczih7f7-macos-instruction3.png)</span>

<span style="font-weight: 400;">2. Select the script you created with your AuthKey, choose the target devices or device groups, configure the run option, and run the job.</span>

#### **4. Verify the result**

<span style="font-weight: 400;">After the job runs, check that the following files were created on the target Mac:</span>

- **Config.plist**
- **/var/log/safedns-installer.log**

<span style="font-weight: 400;">The log file confirms that the script was delivered and executed.</span>