mcpField
T
tigris-access-keys

tigris-access-keys

github.com/tigrisdataSecurity187 installsUpdated 31w ago
Repository

About tigris-access-keys

A skill documenting the Tigris CLI commands for managing organization access keys. Developers can create, inspect, assign bucket roles to, list, and revoke keys, with guidance on limiting permissions and protecting secrets.

Key features

  1. 01List organization access keys
  2. 02Create and inspect keys
  3. 03Assign bucket-level roles
  4. 04Grant or revoke access
  5. 05JSON, table, and XML output
  6. 06Key handling guidance

Use cases

  1. 01Create a key for an application
  2. 02Limit a key to selected buckets
  3. 03Review key roles and metadata
  4. 04Revoke or rotate an old key

Install

Copy the command and run it in a terminal.

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

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

Details

From the project README

Tigris Access Keys

Access keys are programmatic credentials for the Tigris API. Key IDs use the tid_ prefix, secrets use the tsec_ prefix.

Commands

tigris access-keys list (alias: l)

List all access keys in the current organization.

tigris access-keys list
tigris access-keys list --json
FlagAliasDescriptionDefault
--format-fOutput format (json, table, xml)table
--jsonOutput as JSON
tigris access-keys create <name> (alias: c)

Create a new access key with the given name. The secret is shown only once — save it immediately.

tigris access-keys create my-ci-key
tigris access-keys create my-ci-key --json
FlagAliasDescriptionDefault
--format-fOutput format (json, table)table
--jsonOutput as JSON
tigris access-keys get <id> (alias: g)

Show details for an access key including its name, creation date, and assigned bucket roles.

tigris access-keys get tid_AaBbCcDdEeFf
tigris access-keys get tid_AaBbCcDdEeFf --json
FlagAliasDescriptionDefault
--format-fOutput format (json, table)table
--jsonOutput as JSON
tigris access-keys delete <id> (alias: d)

Permanently delete an access key. This revokes all access immediately.

tigris access-keys delete tid_AaBbCcDdEeFf --force
FlagDescription
--forceSkip confirmation prompt
--format / -fOutput format (json, table; default: table)
--jsonOutput as JSON
tigris access-keys assign <id> (alias: a)

Assign per-bucket roles to an access key. Pair each --bucket with a --role (Editor or ReadOnly), or use --admin for org-wide access.

# Single bucket
tigris access-keys assign tid_AaBb --bucket my-bucket --role Editor

# Multiple buckets with different roles
tigris access-keys assign tid_AaBb --bucket a,b --role Editor,ReadOnly

# Org-wide admin access
tigris access-keys assign tid_AaBb --admin

# Revoke all roles
tigris access-keys assign tid_AaBb --revoke-roles
FlagAliasDescription
--bucket-bBucket name(s), comma-separated. Each bucket pairs positionally with a --role value
--role-rRole(s) to assign (Editor, ReadOnly), comma-separated. Each role pairs with the corresponding --bucket
--adminGrant admin access to all buckets in the organization
--revoke-rolesRevoke all bucket roles from the access key
--format-fOutput format (json, table; default: table)
--jsonOutput as JSON

Workflow

# 1. Create a key
tigris access-keys create my-app-key --json
# Save the tid_ and tsec_ values from the output!

# 2. Scope it to specific buckets
tigris access-keys assign tid_AaBb --bucket my-bucket --role Editor

# 3. Configure your environment (Tigris env vars)
export TIGRIS_STORAGE_ACCESS_KEY_ID=tid_AaBb
export TIGRIS_STORAGE_SECRET_ACCESS_KEY=tsec_XxYy
export TIGRIS_STORAGE_ENDPOINT=https://t3.storage.dev
export TIGRIS_STORAGE_BUCKET=my-bucket

Security Best Practices

  • Scope to specific buckets — avoid --admin unless truly needed
  • Use minimal roles — prefer ReadOnly when writes aren't required
  • Separate keys per app — create dedicated keys for each application or environment
  • Rotate keys regularly — delete old keys and create new ones
  • Never commit secrets — use environment variables or secret managers, not source code

Comments

Markdown supported