From ead1551ac27cceff3c5e9a0848f1edf136fd9dd8 Mon Sep 17 00:00:00 2001 From: Kelvin Oghenerhoro Omereshone Date: Tue, 8 Feb 2022 01:21:56 +0100 Subject: [PATCH] fix: add Apple ID and app-specific password (#3981) --- docs/01-Using-Fleet/04-Adding-hosts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/01-Using-Fleet/04-Adding-hosts.md b/docs/01-Using-Fleet/04-Adding-hosts.md index 34f670d1c3..4c233ca172 100644 --- a/docs/01-Using-Fleet/04-Adding-hosts.md +++ b/docs/01-Using-Fleet/04-Adding-hosts.md @@ -35,11 +35,13 @@ The `fleetctl package` command provides suppport for signing and notarizing macO Check out the example below: ```sh - fleetctl package --type pkg --sign-identity=[PATH TO SIGN IDENTITY] --notarize --fleet-url=[YOUR FLEET URL] --enroll-secret=[YOUR ENROLLMENT SECRET] + AC_USERNAME=appleid@example.com AC_PASSWORD=app-specific-password fleetctl package --type pkg --sign-identity=[PATH TO SIGN IDENTITY] --notarize --fleet-url=[YOUR FLEET URL] --enroll-secret=[YOUR ENROLLMENT SECRET] ``` The above command should be run on a macOS device as notarizing and signing of macOS osquery installers can only be done on macOS devices. +Also remember to replace both `AC_USERNAME` and `AC_PASSWORD` environment variables with your Apple ID and a valid [app-specific](https://support.apple.com/en-ca/HT204397) password respectively. + ### Adding multiple hosts