kindgi sign-in
kindgi sign-in
Section titled “kindgi sign-in”Synopsis
kindgi sign-in <command>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
kindgi sign-in settings
Section titled “kindgi sign-in settings”Synopsis
kindgi sign-in settings [--require-second-factor=on|off]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.
kindgi sign-in settingsRequire a second factor at sign-in (set up your own first).
kindgi sign-in settings --require-second-factor=onFrom Turn on sign-in:
npx --yes @kindgi/cli@0.8 sign-in settings --require-second-factor=onSee also
kindgi sign-in join-domains
Section titled “kindgi sign-in join-domains”Synopsis
kindgi sign-in join-domains <command>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
kindgi sign-in join-domains list
Section titled “kindgi sign-in join-domains list”Synopsis
kindgi sign-in join-domains listThe 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.
kindgi sign-in join-domains list --tableFrom People, API keys and service accounts:
pnpm exec kindgi sign-in join-domains list --tableSee also
kindgi sign-in join-domains allow
Section titled “kindgi sign-in join-domains allow”Synopsis
kindgi sign-in join-domains allow <domain> [--role=viewer|runner|none]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.
kindgi sign-in join-domains allow acme.com --role=runnerFrom People, API keys and service accounts:
pnpm exec kindgi sign-in join-domains allow acme.com --role=runnerSee also
kindgi sign-in join-domains remove
Section titled “kindgi sign-in join-domains remove”Synopsis
kindgi sign-in join-domains remove <domain>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.
kindgi sign-in join-domains remove acme.comFrom People, API keys and service accounts:
pnpm exec kindgi sign-in join-domains remove acme.comSee also