Skip to content

Fill setup gaps in the GitHub SSH certificates tutorial - #587

Draft
andysmallstep wants to merge 1 commit into
mainfrom
andy/ssh-tutorial-gaps
Draft

andysmallstep wants to merge 1 commit into
mainfrom
andy/ssh-tutorial-gaps

Conversation

@andysmallstep

Copy link
Copy Markdown
Contributor

Found while following this tutorial end to end on a test team (Linux host as the enforcement point instead of GitHub). Each change fills a step where a reader had to guess.

Changes

  • Before you begin: devices must be enrolled in your team. An agent enrolled in another team never gets the cert, and nothing says why. Adds a prerequisite that SSH is enabled for the team, with a "contact Smallstep Support" stop.
  • API token: names where tokens live (Team Settings → API Clients) and the scope the request needs. post-endpoint-configurations sits in the Protect group, not Credentials, which is easy to miss.
  • API version: short note on why the request pins 2025-01-01. The endpoint configurations API isn't in the later published versions (2026-05-01, 2026-11-01) at gateway.smallstep.com.
  • Confirming the create: SSH endpoint configurations don't show on the dashboard's Credentials page, which lists backend credentials (web credentials/queries.ts). Points readers to ssh-add -l on a matching device instead.

Not changed: whether to call this a "credential" or an "endpoint configuration." Left as is for the doc owner.

Tested: the request body and headers as written returned 201, and the agent held a cert within minutes (Linux, 12/2).

🤖 Generated with Claude Code

- Note that devices must be enrolled in the same team, and that SSH must
  be enabled for the team (contact Support if not).
- Name the API Clients page and the Protect scope the token needs.
- Explain why the request pins API version 2025-01-01.
- Say how to confirm the credential was created, since SSH credentials
  don't appear on the dashboard's Credentials page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant