@osvaldoandrade/tikti-cli
v0.2.56
Published
Tikti admin CLI (installs a prebuilt Go binary from GitHub Releases)
Readme
@osvaldoandrade/tikti-cli
tikti-cli is the admin CLI for Tikti. It ships as a prebuilt Go binary that the npm postinstall hook downloads from GitHub Releases, so no Go toolchain is required on the target machine. The binary supports tenant management, authentication, and SAML 2.0 federation commands.
Install
npm install -g @osvaldoandrade/tikti-cliUpgrade
npm install -g @osvaldoandrade/tikti-cli@latestUsage
tikti-cli init --base-url http://localhost:8080 --api-key <key> --tenant <tid>
tikti-cli auth login --email [email protected]
tikti-cli saml metadata
tikti-cli saml idp register --tenant <tenantId> --metadata-url <url>
tikti-cli saml idp show --tenant <tenantId>
tikti-cli saml keys rotateinit persists connection details for subsequent commands. auth login authenticates against the Tikti API. The saml subcommands manage SAML 2.0 federation: metadata prints the SP metadata document, idp register adds an identity provider to a tenant, idp show displays the registered identity provider, and keys rotate replaces the SP signing keypair.
Notes
- If the repository is private, set
GITHUB_TOKENorGH_TOKENso the postinstall binary download can authenticate with GitHub.
