From 5ab8d2b1c21ffc25e4f7af685605744b1047f9bd Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 5 Nov 2024 15:11:39 -0800 Subject: [PATCH 1/2] A few fixes from Josh --- platform/smallstep-agent.mdx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/platform/smallstep-agent.mdx b/platform/smallstep-agent.mdx index e6e62626..f08eb7e7 100644 --- a/platform/smallstep-agent.mdx +++ b/platform/smallstep-agent.mdx @@ -114,7 +114,7 @@ curl -sL https://packages.smallstep.com/scripts/smallstep-agent-install.sh | bas ``` -## Debian +### Debian 1. In the Terminal, install dependencies: @@ -150,7 +150,7 @@ curl -sL https://packages.smallstep.com/scripts/smallstep-agent-install.sh | bas ``` -## Ubuntu +### Ubuntu 1. In the Terminal, install dependencies: @@ -189,7 +189,14 @@ curl -sL https://packages.smallstep.com/scripts/smallstep-agent-install.sh | bas ## Configure the agent -Update `/etc/step-agent/agent.yaml` config file, with your Smallstep team ID and Smallstep Agent CA fingerprint. +To configure the agent and register your Linux device with Smallstep, run: + +```jsx +step-agent-plugin register +``` + +Alternatively, you can configure the agent manually. +Simply update `/etc/step-agent/agent.yaml` config file, with your Smallstep team ID and Smallstep Agent CA fingerprint. ```jsx team: "yourteamname" @@ -202,13 +209,6 @@ fingerprint: "40523785c1d1d11EXAMPLE017b660d52a5fa5f2cb94cf0e1a9e9209dbea0826" - Select the Smallstep Agents authority - Use the sha256 Root fingerprint displayed on this page -## Register your device - -To register your Linux endpoint with Smallstep, run: - -```jsx -step-agent-plugin register -``` ## Start the Smallstep agent From 853545df520b4fb4bddd99ac97b8a0e1413b74ea Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Tue, 5 Nov 2024 15:16:13 -0800 Subject: [PATCH 2/2] Update link --- platform/smallstep-api.mdx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/platform/smallstep-api.mdx b/platform/smallstep-api.mdx index a1e1422c..6fb70021 100644 --- a/platform/smallstep-api.mdx +++ b/platform/smallstep-api.mdx @@ -108,8 +108,6 @@ Use the `data` field to store any relevant instance metadata, such as: - an instance’s region, name, or role(s) - DNS names (these can be mapped to a SANs using `deviceMetadataKeySANs`, above) -#### 4. Install the Smallstep agent on each device. +#### 4. Install the Smallstep app on each device. -The agent will only need your `team` name and `fingerprint` for bootstrapping. - -See [Smallstep Agent Quickstart](https://smallstep.notion.site/Install-the-Smallstep-agent-on-a-Linux-server-11bd17a91249809f8127faffbb6b6263?pvs=4) for details. +See [Smallstep App](./smallstep-app.mdx) for details.