BetterIAM

Reference

Lookup reference for Better IAM - every betterIam() option, API method, export, type, CLI command, error code, package, and term - plus the FAQ, contributing guide, and changelog.

The Reference section is for looking things up: exact names, signatures, routes, defaults, and codes. Most of it is generated from the repository by apps/docs/scripts/generate.mjs, so it matches the code it documents: method names and signatures come from the built TypeScript declarations and a live betterIam() instance, error codes from every IamError thrown in packages/*/src, CLI usage from the CLI's own help text, and packages from the workspace manifests. The Options page is written from packages/server/src/options.ts and the option types it imports.

Pages in this section

PageWhat it containsSource
OptionsEvery option betterIam() accepts, with type, default, range, and examplepackages/server/src/options.ts
Server APIEvery iam.api group and method with its HTTP route, credential, and signaturegenerated
Package exportsEvery function, hook, component, class, and constant the packages exportgenerated
TypesThe core TypeScript types and their fieldsgenerated
CLIEvery better-iam command and its flagsgenerated
Error codesEvery stable IamError code, grouped by HTTP statusgenerated
GlossaryPlain-language definitions of identity and access termsdescriptions/glossary.json
PackagesThe publishable packages, subpath exports, and dependenciesgenerated
FAQShort answers about adopting, running, migrating, databases, and AIhand-written
ContributingRepository layout, build and test commands, docs generation, CIhand-written
ChangelogEvery notable change, newest firstCHANGELOG.md

Machine-readable docs

The site serves its content for tools and language models as well as for people:

URLContent
/llms.txtAn index of every page with its description
/llms-full.txtEvery page as Markdown in one file
/skills/better-iam/SKILL.mdAn agent skill for coding agents (Agent skills)
/docs/<page>.mdOne page as Markdown (also served for Accept: text/markdown)
/api/search?query=…The search index behind the search dialog, as JSON
/api/mcpAn MCP server with search, page, API-method, export, and error-code tools; see Use the docs with AI
/openapi.jsonThe OpenAPI 3.1 description of the HTTP API

Regenerating

pnpm build                                  # declarations the API catalog is read from
pnpm --filter @better-iam/docs generate     # data + generated pages (API, exports, errors, CLI, glossary)
node apps/docs/scripts/check-content.mjs    # validate every page and link

See Contributing for every generator step.

Was this page helpful?

Better IAM is created by Sean Filimon

Last updated

On this page