mcpField
T
tigris-authentication

tigris-authentication

github.com/tigrisdataCloud & DevOps185 installsUpdated 31w ago
Repository

About tigris-authentication

A skill for using the Tigris CLI to authenticate and configure access to Tigris. It covers login methods, credential checks, organization selection, and machine-readable output for scripted workflows.

Key features

  1. 01OAuth and credential login
  2. 02Persistent credential configuration
  3. 03Identity and credential checks
  4. 04Organization management
  5. 05JSON command output
  6. 06Environment-variable credentials

Use cases

  1. 01Signing in to Tigris from a terminal
  2. 02Setting credentials for repeated CLI use
  3. 03Checking access to a bucket
  4. 04Selecting an organization in scripts

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tigrisdata/tigris-agents-plugins --skill tigris-authentication

After installing, type/tigris-authenticationin Claude Code to confirm it loaded.

Details

From the project README

Tigris Authentication & Setup

Install the CLI

npm install -g @tigrisdata/cli
tigris --version

The CLI is also available as t3 (alias for tigris).

Quick Start

tigris login          # authenticate via browser
tigris whoami         # verify identity
tigris ls             # list your buckets

Commands

tigris login

Start a session via OAuth (default) or temporary credentials. Session state is cleared on logout.

tigris login                        # interactive — choose OAuth or credentials
tigris login oauth                  # browser-based OAuth2 device flow
tigris login credentials            # access key + secret (prompts if not provided)
tigris login credentials --access-key tid_AaBb --access-secret tsec_XxYy
SubcommandAliasDescription
login (default)lInteractive — choose login method
login oauthlogin oLogin via browser using OAuth2 device flow
login credentialslogin cLogin with an access key and secret (temporary session)

login credentials flags:

FlagAliasDescription
--access-key--keyAccess key ID (prompts if not provided)
--access-secret--secretSecret access key (prompts if not provided)
tigris configure

Save access-key credentials to ~/.tigris/config.json for persistent use across all commands.

tigris configure --access-key tid_AaBb --access-secret tsec_XxYy
tigris configure --endpoint https://custom.endpoint.dev
FlagAliasDescription
--access-key--keyYour Tigris access key ID
--access-secret--secretYour Tigris secret access key
--endpoint-eTigris API endpoint (default: https://t3.storage.dev)
tigris whoami

Print the currently authenticated user, organization, and auth method.

tigris whoami
tigris whoami --json
FlagAliasDescription
--format-fOutput format (json, table; default: table)
--jsonOutput as JSON
tigris logout

End the current session and clear login state. Credentials saved via configure are kept.

tigris logout
tigris credentials test

Verify that current credentials are valid. Optionally checks access to a specific bucket.

tigris credentials test
tigris credentials test --bucket my-bucket
FlagAliasDescription
--bucket-bBucket name to test access against (optional)
--format-fOutput format (json, table; default: table)
--jsonOutput as JSON
tigris orgs list / create / select

List, create, and switch between organizations.

tigris orgs list                    # list orgs + interactively select one
tigris orgs list --json             # list orgs as JSON
tigris orgs create my-org           # create a new organization
tigris orgs select my-org           # set active organization
CommandAliasDescription
orgs listorgs lList all organizations and interactively select one
orgs create <name>orgs cCreate a new organization
orgs select <name>orgs sSet the named organization as active

Environment Variables

When credentials are set via environment variables, they take precedence over ~/.tigris/config.json and session state. This is common in CI/CD and serverless environments.

Tigris
VariableDescription
TIGRIS_STORAGE_ACCESS_KEY_IDTigris access key ID (e.g. tid_AaBb)
TIGRIS_STORAGE_SECRET_ACCESS_KEYTigris secret access key (e.g. tsec_XxYy)
TIGRIS_STORAGE_ENDPOINTTigris endpoint (https://t3.storage.dev)
TIGRIS_STORAGE_BUCKETDefault bucket name

Global Flags

These flags are available on all tigris commands:

FlagDescription
--jsonOutput in JSON format (useful for programmatic/agent consumption)
--yesSkip confirmation prompts (prevents interactive mode)

Comments

Markdown supported