Skip to content

docs: state the CLI's real verbs on nats-account and nebula-ca - #4

Merged
skeeeon merged 1 commit into
mainfrom
docs/cli-verb-accuracy
Aug 25, 2026
Merged

skeeeon merged 1 commit into
mainfrom
docs/cli-verb-accuracy

Conversation

@skeeeon

@skeeeon skeeeon commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The entity table in §4 listed both entities as ls / get. Both specs in cmd/entity.go declare ls, get, update, edit — the commands exist, they're just rejected for every tenant role by the update rule. That's a different statement from "the CLI doesn't offer them".

The distinction matters for the reader this table is for: someone scripting against stone who sees ls / get concludes the command is absent and goes looking for another way in, when what they'd actually hit is a 404 from an authorization rule. The prose now says which it is, and keeps what was already correct — neither entity can be created or deleted by hand, and signing keys go through POST /api/org/nats-account/keys.

Found while writing the CLI's schema-drift tests (stone-age-io/stone-cli#4), which read the same spec table this page describes.

🤖 Generated with Claude Code

The entity table listed both as `ls / get`. Both specs in cmd/entity.go declare
`ls, get, update, edit` -- the commands exist, they are just rejected for every
tenant role by the update rule, which is a different statement from "the CLI
does not offer them".

The distinction matters to the reader the table is for: someone scripting
against `stone` who sees `ls / get` concludes the command is absent and looks for
another way in, when what they will actually get is a 404 from an authorization
rule. The prose now says which it is, and keeps the part that was already right:
neither entity can be created or deleted by hand, and signing keys go through
the dedicated route.

Found while writing the CLI's schema-drift tests (stone-age-io/stone-cli#4),
which read the same spec table this page describes.

Co-Authored-By: Claude Opus 5 (1M context) <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