Skip to content

kindgi sign-in

View as Markdown

Synopsis

Terminal window
kindgi sign-in <command>
Signature

The workspace's sign-in settings: whether signing in takes a second factor, and the email domains people may join from.

Commands

Command Description
kindgi sign-in settings The workspace's sign-in settings; --require-second-factor=on makes signing in take a second factor (an authenticator app), off stops requiring it.
kindgi sign-in join-domains The email domains people may join the workspace from.

See also

Synopsis

Terminal window
kindgi sign-in settings [--require-second-factor=on|off]
Signature

The workspace's sign-in settings; --require-second-factor=on makes signing in take a second factor (an authenticator app), off stops requiring it. Once on, a session made without one ends at its next request, and signing in to the console with an API token is refused. Signing in through the workspace's own identity provider is exempt: it owns MFA there. A site's people sign in through the site, which owns their second factor, so the setting doesn't apply to them. API keys aren't covered: keep them to service accounts, and rotate them. Turning it on when signed in takes a sign-in made with your own second factor. Tenant admins only.

Options

Option Default Description
--require-second-factor <value> unchanged: the settings are read on or off: whether signing in takes a second factor.

Every command also takes the global flags.

Examples

See whether signing in takes a second factor.

Terminal window
kindgi sign-in settings

Require a second factor at sign-in (set up your own first).

Terminal window
kindgi sign-in settings --require-second-factor=on

From Turn on sign-in:

Terminal window
npx --yes @kindgi/cli@0.8 sign-in settings --require-second-factor=on

See also

Synopsis

Terminal window
kindgi sign-in join-domains <command>
Signature

The email domains people may join the workspace from.

Commands

Command Description
kindgi sign-in join-domains list The email domains people may join this workspace from, the first allowed first, with what a joiner gets.
kindgi sign-in join-domains allow Let people at an email domain join: someone with a verified mailbox there (a Google Workspace account, a Microsoft work account, or the emailed link; never GitHub) whom the workspace doesn't have yet is offered it at sign-in.
kindgi sign-in join-domains remove Stop letting people at an email domain join.

See also

Synopsis

Terminal window
kindgi sign-in join-domains list
Signature

The email domains people may join this workspace from, the first allowed first, with what a joiner gets. Anyone in the workspace may list them.

Options

Every command also takes the global flags.

Examples

See which email domains people may join from, and what a joiner gets.

Terminal window
kindgi sign-in join-domains list --table

From People, API keys and service accounts:

Terminal window
pnpm exec kindgi sign-in join-domains list --table

See also

Synopsis

Terminal window
kindgi sign-in join-domains allow <domain> [--role=viewer|runner|none]
Signature

Let people at an email domain join: someone with a verified mailbox there (a Google Workspace account, a Microsoft work account, or the emailed link; never GitHub) whom the workspace doesn't have yet is offered it at sign-in. Exactly that domain, not its subdomains; never a public mailbox domain like gmail.com. From the CLI it takes the deployment operator's key (one holding kindgi:system, on a runtime serving one tenant): an API key proves no email, so a tenant admin allows their own domain from the console's Sign-in page instead.

Options

Option Default Description
--role <value> viewer What a joiner gets: viewer or runner on the default project, or none, a member with no project role. Never tenant admin.

Every command also takes the global flags.

Examples

Let people at acme.com join as runner, signed in with the operator's key.

Terminal window
kindgi sign-in join-domains allow acme.com --role=runner

From People, API keys and service accounts:

Terminal window
pnpm exec kindgi sign-in join-domains allow acme.com --role=runner

See also

Synopsis

Terminal window
kindgi sign-in join-domains remove <domain>
Signature

Stop letting people at an email domain join. New joins stop; the people who joined stay. Any tenant admin.

Options

Every command also takes the global flags.

Examples

Stop new joins from acme.com; the people who joined stay.

Terminal window
kindgi sign-in join-domains remove acme.com

From People, API keys and service accounts:

Terminal window
pnpm exec kindgi sign-in join-domains remove acme.com

See also