Skip to content

Commit b37eff7

Browse files
committed
Cleanups
1 parent ce61bab commit b37eff7

File tree

1 file changed

+47
-40
lines changed

1 file changed

+47
-40
lines changed

tutorials/connect-jamf-pro-to-smallstep.mdx

Lines changed: 47 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ This API client will allow Smallstep to read your Jamf device inventory and mana
5959
5. Choose **Generate client secret**
6060
6. Temporarily save the **Client ID** and **Client Secret**. You’ll use them in the next step.
6161

62-
## Connect Jamf to Smallstep
62+
## Connect Jamf Pro to Smallstep
6363

64-
Let’s add the Jamf API credentials you just created to Smallstep.
64+
Let’s add the Jamf Pro API credentials you just created to Smallstep.
6565

6666
1. In the Smallstep UI, go to the [**Device Management**](https://smallstep.com/app/?next=/settings/devices) tab in ⛭ **Settings**
6767
2. Under Jamf, choose ➕ **Connect**
@@ -86,46 +86,13 @@ For compatibility reasons, Smallstep may use ACME or SCEP for certificate enroll
8686
5. Webhook Event: SCEPChallenge
8787
4. Choose **Save**
8888

89-
Your Smallstep team is now linked to Jamf. Smallstep will do a partial sync of your device inventory from Jamf every hour, and a full sync every 8 hours.
89+
Your Smallstep team is now linked to Jamf Pro. Smallstep will do a partial sync of your device inventory from Jamf every hour, and a full sync every 8 hours.
9090

9191
## Install the Smallstep agent
9292

93-
There's two ways to install the agent: Using Jamf, or using a separate software management tool.
93+
There's two ways to install the agent: Using Jamf Pro, or using a separate software management tool.
9494
For example, [Munki](https://www.munki.org/munki/) is a popular option for managing macOS apps in a large IT organizatoin.
9595

96-
### Option: Install using a software management tool
97-
98-
If you're using a software management tool:
99-
100-
1. Download the latest package from [packages.smallstep.com](https://packages.smallstep.com/stable/darwin/step-agent-plugin_latest.pkg)
101-
2. Distribute and install the package on your endpoints
102-
3. Add the following user launch agent file in `/Users/<USER>/Library/LaunchAgents/com.smallstep.launchd.Agent.plist`:
103-
104-
```
105-
<?xml version="1.0" encoding="UTF-8"?>
106-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
107-
<plist version="1.0">
108-
<dict>
109-
<key>Label</key>
110-
<string>com.smallstep.launchd.Agent</string>
111-
<key>ProgramArguments</key>
112-
<array>
113-
<string>/Applications/SmallstepAgent.app/Contents/MacOS/SmallstepAgent</string>
114-
<string>start</string>
115-
<string>managed</string>
116-
</array>
117-
<key>KeepAlive</key>
118-
<true/>
119-
<key>RunAtLoad</key>
120-
<true/>
121-
<key>AssociatedBundleIdentifiers</key>
122-
<string>com.smallstep.Agent</string>
123-
</dict>
124-
</plist>
125-
```
126-
127-
4. Register the launch agent with `launchctl load /Users/<USER>/Library/LaunchAgents/com.smallstep.launchd.Agent.plist`
128-
12996
### Option: Install the agent via Jamf
13097

13198
#### Create an Agent Package for Distribution
@@ -140,7 +107,7 @@ In this step, you’ll upload the Smallstep agent package to Jamf’s distributi
140107
2. Filename: (upload from step #1)
141108
5. Choose **Save**
142109

143-
### Create an Agent Bootstrap Script
110+
#### Create an Agent Bootstrap Script
144111

145112
This step will install a script on your client devices that bootstraps the connection between your devices and Smallstep.
146113

@@ -159,7 +126,7 @@ This step will install a script on your client devices that bootstraps the conne
159126

160127
4. Choose **Save**
161128

162-
### Create an Agent Installation Policy
129+
#### Create an Agent Installation Policy
163130

164131
Next, we’ll configure the Script we just created to run on your client devices.
165132

@@ -182,7 +149,7 @@ Next, we’ll configure the Script we just created to run on your client devices
182149
4. Under Scope, select your desired policy scope. The agent will be installed on all devices in this scope.
183150
4. Choose **Save**
184151

185-
### Configure an Agent Enrollment Profile
152+
#### Configure an Agent Enrollment Profile
186153

187154
In this step, we’ll tie everything together by creating a managed policy to enroll devices using the Smallstep Agent.
188155

@@ -254,6 +221,46 @@ In this step, we’ll tie everything together by creating a managed policy to en
254221

255222
The devices that you scoped will receive a certificate and have the agent installed and running.
256223

224+
### Option: Install using a software management tool
225+
226+
If you're using a software management tool:
227+
228+
1. Download the latest package from [packages.smallstep.com](https://packages.smallstep.com/stable/darwin/step-agent-plugin_latest.pkg)
229+
2. Distribute and install the package on your desired endpoints
230+
3. Create a user launch agent file on the endpoint, in `/Users/<USER>/Library/LaunchAgents/com.smallstep.launchd.Agent.plist` for the primary user of the device.
231+
232+
The Smallstep agent does not yet support multi-user deployments on macOS&mdash;it must be installed for a single user:
233+
234+
```
235+
<?xml version="1.0" encoding="UTF-8"?>
236+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
237+
<plist version="1.0">
238+
<dict>
239+
<key>Label</key>
240+
<string>com.smallstep.launchd.Agent</string>
241+
<key>ProgramArguments</key>
242+
<array>
243+
<string>/Applications/SmallstepAgent.app/Contents/MacOS/SmallstepAgent</string>
244+
<string>start</string>
245+
<string>managed</string>
246+
</array>
247+
<key>KeepAlive</key>
248+
<true/>
249+
<key>RunAtLoad</key>
250+
<true/>
251+
<key>AssociatedBundleIdentifiers</key>
252+
<string>com.smallstep.Agent</string>
253+
</dict>
254+
</plist>
255+
```
256+
257+
4. On the endpoint, register the launch agent by running the following:
258+
259+
```
260+
launchctl load /Users/<USER>/Library/LaunchAgents/com.smallstep.launchd.Agent.plist`
261+
```
262+
263+
257264
## Confirmation
258265

259266
There's two ways to confirm installation on an endpoint:

0 commit comments

Comments
 (0)