Skip to content

Commit 4c16390

Browse files
committed
Add agent registration to manual endpoint configuration guide for Linux
1 parent 8f7f753 commit 4c16390

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

platform/smallstep-agent.mdx

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -187,30 +187,35 @@ curl -sL https://packages.smallstep.com/scripts/smallstep-agent-install.sh | sud
187187
```
188188
189189
190-
## Configure the agent
190+
## Register the endpoint
191+
192+
### Auto-registration
191193
192194
To configure the agent and register your Linux device with your Smallstep team, run:
193195
194196
```jsx
195197
sudo step-agent-plugin register [team name]
196198
```
197199
198-
Alternatively, you can configure the agent manually.
199-
Simply update `/etc/step-agent/agent.yaml` config file, with your Smallstep team name and Smallstep Agent CA fingerprint.
200+
### Manual registration
200201
201-
```jsx
202-
team: "myteamname"
203-
fingerprint: "40523785c1d1d11EXAMPLE017b660d52a5fa5f2cb94cf0e1a9e9209dbea0826"
204-
```
202+
Alternatively, you can configure the agent manually:
203+
1. First, [register and approve your devices via API](./enrollment-guide.mdx#add-devices-via-api).
204+
2. On your endpoints, update the `/etc/step-agent/agent.yaml` config file with your Smallstep team name and Smallstep Agent CA fingerprint.
205+
206+
```jsx
207+
team: "myteamname"
208+
fingerprint: "40523785c1d1d11EXAMPLE017b660d52a5fa5f2cb94cf0e1a9e9209dbea0826"
209+
```
205210
206-
- Your `team` ID (team slug). This is the value after `/app/` in your Smallstep dashboard URL.
207-
- Your agent CA `fingerprint`. Find this value in your dashboard:
208-
- In the Smallstep dashboard, select Authorities
209-
- Select the Smallstep Agents authority
210-
- Use the sha256 Root fingerprint displayed on this page
211+
- Your `team` ID (team slug). This is the value after `/app/` in your Smallstep dashboard URL.
212+
- Your agent CA `fingerprint`. Find this value in your dashboard:
213+
- In the Smallstep dashboard, select Authorities
214+
- Select the Smallstep Agents authority
215+
- Use the sha256 Root fingerprint displayed on this page
211216
212217
213-
## Start the Smallstep agent
218+
## Start the agent
214219
215220
Finally, enable and start the agent:
216221

0 commit comments

Comments
 (0)