Update terraform example mdm to match current documentation (#27)

This commit is contained in:
Robert Fairburn authored and GitHub committed 2025-04-10 12:44:08 -05:00
1 parent effca06ef3
commit f3d1a07df3
6 files changed
+26 -96

No files matched your search

+1 -6
View File
@@ -18,16 +18,11 @@ Due to Terraform issues, this code requires 3 applies "from scratch":
6. `terraform apply`
7. If enabling mdm do the following:
- Record the KMS key from step 5 output.
- Use `fleetctl` to obtain all of the mdm certs. Use https://fleetdm.com/docs/using-fleet/mdm-setup#apple-push-notification-service-apns and https://fleetdm.com/docs/using-fleet/mdm-setup#apple-business-manager-abm for reference.
- Create the Windows MDM cert via the document at https://fleetdm.com/guides/windows-mdm-setup#step-1-generate-your-certificate-and-key, but name them as scep.key and scep.crt to follow a legacy convention of the mdm module.
- Place the certificates in the `resources` folder with the following names based upon their function:
```
scep.crt
scep.key
apns.crt
apns.key
abm.crt
abm.key
abm_token.p7m
```
- Using the `encrypt.sh` script, KMS encrypt all of these secrets as follows:
```