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
- 01List organization access keys
- 02Create and inspect keys
- 03Assign bucket-level roles
- 04Grant or revoke access
- 05JSON, table, and XML output
- 06Key handling guidance
Use cases
- 01Create a key for an application
- 02Limit a key to selected buckets
- 03Review key roles and metadata
- 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-keysAfter installing, type/tigris-access-keysin Claude Code to confirm it loaded.
Details
From the project READMETigris 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
| Flag | Alias | Description | Default |
|---|---|---|---|
--format | -f | Output format (json, table, xml) | table |
--json | Output 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
| Flag | Alias | Description | Default |
|---|---|---|---|
--format | -f | Output format (json, table) | table |
--json | Output 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
| Flag | Alias | Description | Default |
|---|---|---|---|
--format | -f | Output format (json, table) | table |
--json | Output 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
| Flag | Description |
|---|---|
--force | Skip confirmation prompt |
--format / -f | Output format (json, table; default: table) |
--json | Output 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
| Flag | Alias | Description |
|---|---|---|
--bucket | -b | Bucket name(s), comma-separated. Each bucket pairs positionally with a --role value |
--role | -r | Role(s) to assign (Editor, ReadOnly), comma-separated. Each role pairs with the corresponding --bucket |
--admin | Grant admin access to all buckets in the organization | |
--revoke-roles | Revoke all bucket roles from the access key | |
--format | -f | Output format (json, table; default: table) |
--json | Output 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
--adminunless truly needed - Use minimal roles — prefer
ReadOnlywhen 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