Skip to content

hiraiship whoami

Shows who the CLI is logged in as, and the workspaces it can act in.

Terminal
hiraiship whoami [--show-token]
Output
you@example.com · https://api.hiraiship.com
  ● You you · owner, default
  ○ Acme acme · developer
  • Each line is a workspace: its name, slug and your role in it.
  • default marks the workspace commands use without --scope.
  • ● marks the one this command acts in: the default, or the one --scope names.

With an API key, it shows the key instead: its name, role, workspace and expiry.

Options

OptionDescription
--show-tokenAlso print the token.

--show-token prints a credential that acts as you. For CI, create a workspace API key instead; see CI/CD.