fix: add Apple ID and app-specific password (#3981)

This commit is contained in:
Kelvin Oghenerhoro Omereshone 2022-02-08 01:21:56 +01:00 committed by GitHub
parent 6e7c14faef
commit ead1551ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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