CLI

tigby key

Create and revoke API keys

Admin Keys act for the whole Org; Identity Keys are minted with an Identity and act for that one Identity. Both are listed here, and both are revoked here.

tigby key create

Mint an Admin Key.

The key is in the answer exactly once. It is not stored in the profile; use tigby login for that.

tigby key create <name> [options]
ArgumentWhat it is
<name>A label, such as the agent or host that will hold the key.
tigby key create ci-runner

tigby key list

List the Org's live keys.

tigby key list [options]

tigby key rotate

Replace this profile's key with a fresh one.

Mints a new Admin Key under the same name, writes it to the profile, and revokes the old one. Anything else still using the old key stops working at that moment.

tigby key rotate [options]

This command cannot be undone, so it asks before it acts. --yes answers in advance; --json implies it.

tigby key revoke

Revoke a key by id.

The key stops authenticating immediately. Revoking a key that is already revoked changes nothing.

tigby key revoke <id> [options]
ArgumentWhat it is
<id>The key's id, as tigby key list shows it.

This command cannot be undone, so it asks before it acts. --yes answers in advance; --json implies it.