@tigrisdata/cli 3.17.1 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +573 -459
- package/SKILL.md +1 -1
- package/dist/auth/iam.js +1 -1
- package/dist/auth/provider.js +1 -1
- package/dist/browser/index.d.ts +2 -1
- package/dist/browser/index.js +488 -464
- package/dist/{chunk-M4JVQTPR.js → chunk-33VTJA5G.js} +1 -1
- package/dist/chunk-36RAXRXY.js +1 -0
- package/dist/chunk-55YC7L3R.js +8 -0
- package/dist/{chunk-PMFE4543.js → chunk-5R42YPIF.js} +1 -1
- package/dist/{chunk-EBZOJ2UO.js → chunk-BQPKRG5X.js} +1 -1
- package/dist/{chunk-EYLDWSKA.js → chunk-E52D2O5C.js} +1 -1
- package/dist/{chunk-OUSR4REZ.js → chunk-GREORRSJ.js} +1 -1
- package/dist/{chunk-RUJKMQPD.js → chunk-NEHPRANM.js} +1 -1
- package/dist/{chunk-VFFI5OXM.js → chunk-OK2INJKO.js} +1 -1
- package/dist/chunk-PYPHHAPF.js +4 -0
- package/dist/chunk-Q24ZEHJN.js +1 -0
- package/dist/chunk-QOOQVR7J.js +1 -0
- package/dist/chunk-SFXAZO6M.js +1 -0
- package/dist/{chunk-APVIWSSE.js → chunk-STUJSAPH.js} +1 -1
- package/dist/{chunk-MZ6PKN6C.js → chunk-TBJQJJ45.js} +1 -1
- package/dist/{chunk-H5EV2OLS.js → chunk-TBX42XAN.js} +1 -1
- package/dist/cli-core.js +3 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/access-keys/assign.js +1 -1
- package/dist/lib/access-keys/attach-policy.js +1 -1
- package/dist/lib/access-keys/create.js +1 -1
- package/dist/lib/access-keys/default-permissions.js +1 -1
- package/dist/lib/access-keys/delete.js +1 -1
- package/dist/lib/access-keys/detach-policy.js +1 -1
- package/dist/lib/access-keys/get.js +1 -1
- package/dist/lib/access-keys/list-policies.js +1 -1
- package/dist/lib/access-keys/list.js +1 -1
- package/dist/lib/access-keys/roles.js +1 -1
- package/dist/lib/access-keys/rotate.js +1 -1
- package/dist/lib/access-keys/set.js +1 -1
- package/dist/lib/buckets/create.js +1 -1
- package/dist/lib/buckets/delete.js +1 -1
- package/dist/lib/buckets/disable-snapshots.js +1 -1
- package/dist/lib/buckets/enable-snapshots.js +1 -1
- package/dist/lib/buckets/get.js +1 -1
- package/dist/lib/buckets/lifecycle/create.js +1 -1
- package/dist/lib/buckets/lifecycle/edit.js +1 -1
- package/dist/lib/buckets/lifecycle/list.js +1 -1
- package/dist/lib/buckets/lifecycle/shared.js +1 -1
- package/dist/lib/buckets/list.js +1 -1
- package/dist/lib/buckets/merge.js +1 -1
- package/dist/lib/buckets/migrate.js +5 -5
- package/dist/lib/buckets/purge.js +1 -1
- package/dist/lib/buckets/rebase.js +1 -1
- package/dist/lib/buckets/restore.js +1 -1
- package/dist/lib/buckets/set-cors.js +1 -1
- package/dist/lib/buckets/set-locations.js +1 -1
- package/dist/lib/buckets/set-migration.js +1 -1
- package/dist/lib/buckets/set-notifications.js +1 -1
- package/dist/lib/buckets/set.js +1 -1
- package/dist/lib/buckets/share.js +1 -1
- package/dist/lib/bundle.js +1 -1
- package/dist/lib/configure/index.js +1 -1
- package/dist/lib/cp.js +1 -1
- package/dist/lib/credentials/test.js +1 -1
- package/dist/lib/iam/policies/create.js +1 -1
- package/dist/lib/iam/policies/delete.js +1 -1
- package/dist/lib/iam/policies/edit.js +1 -1
- package/dist/lib/iam/policies/get.js +1 -1
- package/dist/lib/iam/policies/link-key.js +1 -1
- package/dist/lib/iam/policies/list-keys.js +1 -1
- package/dist/lib/iam/policies/list.js +1 -1
- package/dist/lib/iam/policies/select-policy.js +1 -1
- package/dist/lib/iam/policies/unlink-key.js +1 -1
- package/dist/lib/iam/teams/create.js +1 -1
- package/dist/lib/iam/teams/edit.js +1 -1
- package/dist/lib/iam/teams/list.js +1 -1
- package/dist/lib/iam/teams/shared.js +1 -1
- package/dist/lib/iam/users/invite.js +1 -1
- package/dist/lib/iam/users/list.js +1 -1
- package/dist/lib/iam/users/remove.js +1 -1
- package/dist/lib/iam/users/revoke-invitation.js +1 -1
- package/dist/lib/iam/users/update-role.js +1 -1
- package/dist/lib/init/index.js +1 -1
- package/dist/lib/login/credentials.js +1 -1
- package/dist/lib/login/oauth.js +1 -1
- package/dist/lib/login/select.js +1 -1
- package/dist/lib/logout.js +1 -1
- package/dist/lib/ls.js +1 -1
- package/dist/lib/mk.js +1 -1
- package/dist/lib/mv.js +1 -1
- package/dist/lib/objects/delete.js +1 -1
- package/dist/lib/objects/get.js +1 -1
- package/dist/lib/objects/info.js +1 -1
- package/dist/lib/objects/list-versions.js +1 -1
- package/dist/lib/objects/list.js +1 -1
- package/dist/lib/objects/purge.js +1 -1
- package/dist/lib/objects/put.js +1 -1
- package/dist/lib/objects/restore-deleted.js +1 -1
- package/dist/lib/objects/restore-info.js +1 -1
- package/dist/lib/objects/restore.js +1 -1
- package/dist/lib/objects/set-access.js +1 -1
- package/dist/lib/objects/set.js +1 -1
- package/dist/lib/organizations/create.js +1 -1
- package/dist/lib/organizations/delete.js +1 -1
- package/dist/lib/organizations/list.js +1 -1
- package/dist/lib/organizations/select.js +1 -1
- package/dist/lib/presign.js +1 -1
- package/dist/lib/rm.js +1 -1
- package/dist/lib/snapshots/delete.js +1 -1
- package/dist/lib/snapshots/list.js +1 -1
- package/dist/lib/snapshots/take.js +1 -1
- package/dist/lib/stat.js +1 -1
- package/dist/lib/telemetry/disable.js +1 -1
- package/dist/lib/telemetry/enable.js +1 -1
- package/dist/lib/telemetry/status.js +2 -2
- package/dist/lib/touch.js +1 -1
- package/dist/lib/update.js +1 -1
- package/dist/lib/usage.js +1 -1
- package/dist/lib/whoami.js +1 -1
- package/dist/specs.yaml +323 -299
- package/dist/utils/analytics.js +1 -1
- package/dist/utils/bucket-info.js +1 -1
- package/dist/utils/exit.js +1 -1
- package/dist/utils/telemetry-sender.js +1 -0
- package/dist/utils/telemetry.js +1 -1
- package/dist/utils/update-check.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-27XCIHXN.js +0 -1
- package/dist/chunk-IAAJ66FY.js +0 -1
- package/dist/chunk-P76USEKI.js +0 -4
- package/dist/chunk-UURDKGI7.js +0 -3
- package/dist/chunk-WJWKFYJJ.js +0 -1
- package/dist/chunk-YEO7OHQF.js +0 -7
- /package/dist/{chunk-HQ4JNO3D.js → chunk-ILMD5XON.js} +0 -0
package/dist/specs.yaml
CHANGED
|
@@ -32,7 +32,7 @@ definitions:
|
|
|
32
32
|
|
|
33
33
|
location_options: &location_options
|
|
34
34
|
- name: Global
|
|
35
|
-
value:
|
|
35
|
+
value: "global"
|
|
36
36
|
description: Global
|
|
37
37
|
- name: USA
|
|
38
38
|
value: usa
|
|
@@ -148,9 +148,9 @@ commands:
|
|
|
148
148
|
- "npx tigris init"
|
|
149
149
|
- "tigris init --agent"
|
|
150
150
|
messages:
|
|
151
|
-
onStart:
|
|
152
|
-
onSuccess:
|
|
153
|
-
onFailure:
|
|
151
|
+
onStart: ""
|
|
152
|
+
onSuccess: ""
|
|
153
|
+
onFailure: "Setup failed"
|
|
154
154
|
arguments:
|
|
155
155
|
- name: agent
|
|
156
156
|
description: Print a setup recipe for an AI coding agent to follow instead of running the interactive wizard
|
|
@@ -170,14 +170,14 @@ commands:
|
|
|
170
170
|
- "tigris configure --access-key tid_AaBb --access-secret tsec_XxYy"
|
|
171
171
|
- "tigris configure --endpoint https://custom.endpoint.dev"
|
|
172
172
|
messages:
|
|
173
|
-
onStart:
|
|
174
|
-
onSuccess:
|
|
175
|
-
onFailure:
|
|
173
|
+
onStart: "Saving credentials..."
|
|
174
|
+
onSuccess: "Credentials saved to ~/.tigris/config.json. You can now use all tigris commands."
|
|
175
|
+
onFailure: "Failed to save credentials"
|
|
176
176
|
nextActions:
|
|
177
|
-
- command:
|
|
178
|
-
description:
|
|
179
|
-
- command:
|
|
180
|
-
description:
|
|
177
|
+
- command: "tigris credentials test"
|
|
178
|
+
description: "Verify your credentials are working"
|
|
179
|
+
- command: "tigris ls"
|
|
180
|
+
description: "List your buckets"
|
|
181
181
|
arguments:
|
|
182
182
|
- name: access-key
|
|
183
183
|
description: Your Tigris access key ID
|
|
@@ -188,7 +188,7 @@ commands:
|
|
|
188
188
|
alias: secret
|
|
189
189
|
required: false
|
|
190
190
|
- name: endpoint
|
|
191
|
-
description:
|
|
191
|
+
description: "Tigris API endpoint (default: https://t3.storage.dev)"
|
|
192
192
|
alias: e
|
|
193
193
|
required: false
|
|
194
194
|
|
|
@@ -202,9 +202,9 @@ commands:
|
|
|
202
202
|
- "tigris login oauth"
|
|
203
203
|
- "tigris login credentials --access-key tid_AaBb --access-secret tsec_XxYy"
|
|
204
204
|
messages:
|
|
205
|
-
onStart:
|
|
206
|
-
onSuccess:
|
|
207
|
-
onFailure:
|
|
205
|
+
onStart: ""
|
|
206
|
+
onSuccess: "Login successful"
|
|
207
|
+
onFailure: "Login failed"
|
|
208
208
|
alias: l
|
|
209
209
|
arguments:
|
|
210
210
|
- name: access-key
|
|
@@ -221,9 +221,9 @@ commands:
|
|
|
221
221
|
description: Choose how to login - OAuth (browser) or credentials (access key)
|
|
222
222
|
helpText: "Choose how to log in: OAuth or access key"
|
|
223
223
|
messages:
|
|
224
|
-
onStart:
|
|
225
|
-
onSuccess:
|
|
226
|
-
onFailure:
|
|
224
|
+
onStart: ""
|
|
225
|
+
onSuccess: "Login successful"
|
|
226
|
+
onFailure: "Login failed"
|
|
227
227
|
# oauth
|
|
228
228
|
- name: oauth
|
|
229
229
|
description: Login via browser using OAuth2 device flow. Best for interactive use
|
|
@@ -232,16 +232,16 @@ commands:
|
|
|
232
232
|
examples:
|
|
233
233
|
- "tigris login oauth"
|
|
234
234
|
messages:
|
|
235
|
-
onStart:
|
|
235
|
+
onStart: "Opening browser for authentication..."
|
|
236
236
|
onSuccess: "Logged in successfully\nOrganization '{{org}}' selected"
|
|
237
|
-
onFailure:
|
|
237
|
+
onFailure: "Authentication failed"
|
|
238
238
|
onAlreadyDone: "Already logged in.\nRun \"tigris logout\" first to switch accounts."
|
|
239
239
|
hint: "You have {{count}} organizations.\nRun \"tigris orgs list\" to switch."
|
|
240
240
|
nextActions:
|
|
241
|
-
- command:
|
|
242
|
-
description:
|
|
243
|
-
- command:
|
|
244
|
-
description:
|
|
241
|
+
- command: "tigris orgs list"
|
|
242
|
+
description: "List and switch organizations"
|
|
243
|
+
- command: "tigris ls"
|
|
244
|
+
description: "List your buckets"
|
|
245
245
|
# credentials
|
|
246
246
|
- name: credentials
|
|
247
247
|
description: Login with an access key and secret. Creates a temporary session that is cleared on logout
|
|
@@ -251,12 +251,12 @@ commands:
|
|
|
251
251
|
- "tigris login credentials --access-key tid_AaBb --access-secret tsec_XxYy"
|
|
252
252
|
- "tigris login credentials"
|
|
253
253
|
messages:
|
|
254
|
-
onStart:
|
|
255
|
-
onSuccess:
|
|
256
|
-
onFailure:
|
|
254
|
+
onStart: "Authenticating..."
|
|
255
|
+
onSuccess: "Logged in with credentials"
|
|
256
|
+
onFailure: "Authentication failed"
|
|
257
257
|
nextActions:
|
|
258
|
-
- command:
|
|
259
|
-
description:
|
|
258
|
+
- command: "tigris ls"
|
|
259
|
+
description: "List your buckets"
|
|
260
260
|
arguments:
|
|
261
261
|
- name: access-key
|
|
262
262
|
description: Your access key ID (will prompt if not provided)
|
|
@@ -277,9 +277,9 @@ commands:
|
|
|
277
277
|
examples:
|
|
278
278
|
- "tigris whoami"
|
|
279
279
|
messages:
|
|
280
|
-
onStart:
|
|
281
|
-
onSuccess:
|
|
282
|
-
onFailure:
|
|
280
|
+
onStart: ""
|
|
281
|
+
onSuccess: ""
|
|
282
|
+
onFailure: "Failed to get user information"
|
|
283
283
|
onAlreadyDone: "Not authenticated\nRun \"tigris login\" to authenticate"
|
|
284
284
|
|
|
285
285
|
# usage
|
|
@@ -293,11 +293,11 @@ commands:
|
|
|
293
293
|
- "tigris usage --all"
|
|
294
294
|
- "tigris usage --format json"
|
|
295
295
|
messages:
|
|
296
|
-
onStart:
|
|
297
|
-
onSuccess:
|
|
298
|
-
onFailure:
|
|
299
|
-
onEmpty:
|
|
300
|
-
hint:
|
|
296
|
+
onStart: ""
|
|
297
|
+
onSuccess: ""
|
|
298
|
+
onFailure: "Failed to get usage"
|
|
299
|
+
onEmpty: "No usage recorded for {{month}}"
|
|
300
|
+
hint: "{{action}}: {{url}}"
|
|
301
301
|
arguments:
|
|
302
302
|
- name: month
|
|
303
303
|
description: Billing month as YYYY-MM (default is the current month)
|
|
@@ -315,10 +315,10 @@ commands:
|
|
|
315
315
|
examples:
|
|
316
316
|
- "tigris update"
|
|
317
317
|
messages:
|
|
318
|
-
onStart:
|
|
319
|
-
onSuccess:
|
|
320
|
-
onFailure:
|
|
321
|
-
onAlreadyDone:
|
|
318
|
+
onStart: "Checking for updates..."
|
|
319
|
+
onSuccess: "Updated to {{latestVersion}}"
|
|
320
|
+
onFailure: "Failed to update"
|
|
321
|
+
onAlreadyDone: "Already on the latest version ({{currentVersion}})"
|
|
322
322
|
|
|
323
323
|
# logout
|
|
324
324
|
- name: logout
|
|
@@ -328,9 +328,9 @@ commands:
|
|
|
328
328
|
examples:
|
|
329
329
|
- "tigris logout"
|
|
330
330
|
messages:
|
|
331
|
-
onStart:
|
|
332
|
-
onSuccess:
|
|
333
|
-
onFailure:
|
|
331
|
+
onStart: "Logging out..."
|
|
332
|
+
onSuccess: "Logged out. Your configured credentials are still saved."
|
|
333
|
+
onFailure: "Failed to logout"
|
|
334
334
|
|
|
335
335
|
# credentials
|
|
336
336
|
- name: credentials
|
|
@@ -350,16 +350,15 @@ commands:
|
|
|
350
350
|
- "tigris credentials test"
|
|
351
351
|
- "tigris credentials test --bucket my-bucket"
|
|
352
352
|
messages:
|
|
353
|
-
onStart:
|
|
354
|
-
onSuccess:
|
|
355
|
-
onFailure:
|
|
353
|
+
onStart: "Testing credentials..."
|
|
354
|
+
onSuccess: "Credentials are valid"
|
|
355
|
+
onFailure: "Credentials test failed"
|
|
356
356
|
arguments:
|
|
357
357
|
- name: bucket
|
|
358
358
|
description: Bucket name to test access against (optional)
|
|
359
359
|
alias: b
|
|
360
360
|
required: false
|
|
361
361
|
|
|
362
|
-
|
|
363
362
|
#########################
|
|
364
363
|
# Telemetry
|
|
365
364
|
#########################
|
|
@@ -381,26 +380,26 @@ commands:
|
|
|
381
380
|
examples:
|
|
382
381
|
- "tigris telemetry status"
|
|
383
382
|
messages:
|
|
384
|
-
onStart:
|
|
385
|
-
onSuccess:
|
|
386
|
-
onFailure:
|
|
383
|
+
onStart: ""
|
|
384
|
+
onSuccess: ""
|
|
385
|
+
onFailure: "Failed to read telemetry settings"
|
|
387
386
|
- name: disable
|
|
388
387
|
description: Turn off usage analytics and error reports on this machine
|
|
389
388
|
examples:
|
|
390
389
|
- "tigris telemetry disable"
|
|
391
390
|
messages:
|
|
392
|
-
onStart:
|
|
393
|
-
onSuccess:
|
|
394
|
-
onFailure:
|
|
391
|
+
onStart: ""
|
|
392
|
+
onSuccess: "Telemetry disabled. The CLI will not send usage analytics or error reports."
|
|
393
|
+
onFailure: "Failed to disable telemetry"
|
|
395
394
|
- name: enable
|
|
396
395
|
description: Turn usage analytics and error reports back on for this machine
|
|
397
396
|
helpText: Turn usage analytics and error reports back on
|
|
398
397
|
examples:
|
|
399
398
|
- "tigris telemetry enable"
|
|
400
399
|
messages:
|
|
401
|
-
onStart:
|
|
402
|
-
onSuccess:
|
|
403
|
-
onFailure:
|
|
400
|
+
onStart: ""
|
|
401
|
+
onSuccess: "Telemetry enabled. Thanks for helping us improve the CLI."
|
|
402
|
+
onFailure: "Failed to enable telemetry"
|
|
404
403
|
|
|
405
404
|
#########################
|
|
406
405
|
# Unix style commands
|
|
@@ -417,7 +416,7 @@ commands:
|
|
|
417
416
|
- "tigris ls my-bucket/images/"
|
|
418
417
|
- "tigris ls t3://my-bucket/prefix/"
|
|
419
418
|
messages:
|
|
420
|
-
onFailure:
|
|
419
|
+
onFailure: "Failed to list. Verify the bucket exists and your credentials have access"
|
|
421
420
|
onEmpty: 'No results found. Run "tigris ls" to see all buckets'
|
|
422
421
|
arguments:
|
|
423
422
|
- name: path
|
|
@@ -463,7 +462,7 @@ commands:
|
|
|
463
462
|
- "tigris mk my-fork --fork-of my-bucket"
|
|
464
463
|
- "tigris mk my-fork --fork-of my-bucket --source-snapshot 1765889000501544464"
|
|
465
464
|
messages:
|
|
466
|
-
onFailure:
|
|
465
|
+
onFailure: "Failed to create. Check the name is valid and your credentials have write access"
|
|
467
466
|
arguments:
|
|
468
467
|
- name: path
|
|
469
468
|
required: true
|
|
@@ -497,6 +496,11 @@ commands:
|
|
|
497
496
|
helpText: Enable directory listing for a public bucket (bucket creation only)
|
|
498
497
|
type: flag
|
|
499
498
|
default: false
|
|
499
|
+
- name: global-user-metadata
|
|
500
|
+
description: Replicate object user metadata to every region so metadata listings work from anywhere. Cannot be changed after creation (only applies when creating a bucket)
|
|
501
|
+
helpText: Replicate user metadata to every region (bucket creation only)
|
|
502
|
+
type: flag
|
|
503
|
+
default: false
|
|
500
504
|
- name: default-tier
|
|
501
505
|
description: Default storage tier (only applies when creating a bucket)
|
|
502
506
|
alias: t
|
|
@@ -514,7 +518,7 @@ commands:
|
|
|
514
518
|
description: Location for the bucket (only applies when creating a bucket)
|
|
515
519
|
alias: l
|
|
516
520
|
options: *location_options
|
|
517
|
-
default:
|
|
521
|
+
default: "global"
|
|
518
522
|
- name: fork-of
|
|
519
523
|
description: Create this bucket as a fork (copy-on-write clone) of the named source bucket
|
|
520
524
|
alias: fork
|
|
@@ -532,7 +536,7 @@ commands:
|
|
|
532
536
|
- "tigris touch my-bucket/placeholder.txt"
|
|
533
537
|
- "tigris touch t3://my-bucket/logs/"
|
|
534
538
|
messages:
|
|
535
|
-
onFailure:
|
|
539
|
+
onFailure: "Failed to create object. Verify the bucket exists and your credentials have write access"
|
|
536
540
|
arguments:
|
|
537
541
|
- name: path
|
|
538
542
|
required: true
|
|
@@ -552,9 +556,9 @@ commands:
|
|
|
552
556
|
- "tigris stat t3://my-bucket"
|
|
553
557
|
- "tigris stat t3://my-bucket/my-object.json"
|
|
554
558
|
messages:
|
|
555
|
-
onStart:
|
|
556
|
-
onSuccess:
|
|
557
|
-
onFailure:
|
|
559
|
+
onStart: ""
|
|
560
|
+
onSuccess: ""
|
|
561
|
+
onFailure: "Failed to get stats"
|
|
558
562
|
arguments:
|
|
559
563
|
- name: path
|
|
560
564
|
required: false
|
|
@@ -587,9 +591,9 @@ commands:
|
|
|
587
591
|
- "tigris presign my-bucket/image.png --format json"
|
|
588
592
|
- "tigris presign my-bucket/data.csv --access-key tid_AaBb"
|
|
589
593
|
messages:
|
|
590
|
-
onStart:
|
|
591
|
-
onSuccess:
|
|
592
|
-
onFailure:
|
|
594
|
+
onStart: ""
|
|
595
|
+
onSuccess: ""
|
|
596
|
+
onFailure: "Failed to generate presigned URL"
|
|
593
597
|
arguments:
|
|
594
598
|
- name: path
|
|
595
599
|
required: true
|
|
@@ -606,7 +610,7 @@ commands:
|
|
|
606
610
|
- name: expires-in
|
|
607
611
|
description: URL expiry time in seconds
|
|
608
612
|
alias: e
|
|
609
|
-
default:
|
|
613
|
+
default: "3600"
|
|
610
614
|
- name: access-key
|
|
611
615
|
description: Access key ID to use for signing. If not provided, resolved from credentials or auto-selected
|
|
612
616
|
helpText: Access key ID to sign with. Defaults to your current credentials
|
|
@@ -636,7 +640,7 @@ commands:
|
|
|
636
640
|
- "tigris cp t3://my-bucket/src/ t3://my-bucket/dest/ -r"
|
|
637
641
|
- "tigris cp ./images/ t3://my-bucket/images/ -r"
|
|
638
642
|
messages:
|
|
639
|
-
onFailure:
|
|
643
|
+
onFailure: "Copy failed. Verify both paths are correct and credentials have access"
|
|
640
644
|
arguments:
|
|
641
645
|
- name: src
|
|
642
646
|
required: true
|
|
@@ -682,7 +686,7 @@ commands:
|
|
|
682
686
|
- "tigris mv t3://my-bucket/old-dir/ t3://my-bucket/new-dir/ -rf"
|
|
683
687
|
- "tigris mv my-bucket/a.txt my-bucket/b.txt -f"
|
|
684
688
|
messages:
|
|
685
|
-
onFailure:
|
|
689
|
+
onFailure: "Move failed. Verify both paths are remote and credentials have access"
|
|
686
690
|
arguments:
|
|
687
691
|
- *yes_argument
|
|
688
692
|
- name: src
|
|
@@ -722,7 +726,7 @@ commands:
|
|
|
722
726
|
- "tigris rm t3://my-bucket -f"
|
|
723
727
|
- 'tigris rm "t3://my-bucket/logs/*.tmp" -f'
|
|
724
728
|
messages:
|
|
725
|
-
onFailure:
|
|
729
|
+
onFailure: "Remove failed. Verify the path exists and credentials have delete access"
|
|
726
730
|
arguments:
|
|
727
731
|
- *yes_argument
|
|
728
732
|
- name: path
|
|
@@ -755,9 +759,9 @@ commands:
|
|
|
755
759
|
- "tigris bundle t3://my-bucket --keys keys.txt --compression gzip -o archive.tar.gz"
|
|
756
760
|
- "cat keys.txt | tigris bundle my-bucket > archive.tar"
|
|
757
761
|
messages:
|
|
758
|
-
onStart:
|
|
759
|
-
onSuccess:
|
|
760
|
-
onFailure:
|
|
762
|
+
onStart: ""
|
|
763
|
+
onSuccess: ""
|
|
764
|
+
onFailure: "Bundle failed. Verify the bucket exists and credentials have read access"
|
|
761
765
|
arguments:
|
|
762
766
|
- name: bucket
|
|
763
767
|
required: true
|
|
@@ -805,9 +809,9 @@ commands:
|
|
|
805
809
|
- "tigris orgs list"
|
|
806
810
|
- "tigris orgs list --format json"
|
|
807
811
|
messages:
|
|
808
|
-
onStart:
|
|
812
|
+
onStart: "Listing organizations..."
|
|
809
813
|
onSuccess: "Organization '{{name}}' selected"
|
|
810
|
-
onFailure:
|
|
814
|
+
onFailure: "Failed to select organization"
|
|
811
815
|
onEmpty: "No organizations found. You may need to re-authenticate.\nRun: tigris login"
|
|
812
816
|
arguments:
|
|
813
817
|
- name: format
|
|
@@ -824,13 +828,13 @@ commands:
|
|
|
824
828
|
examples:
|
|
825
829
|
- "tigris orgs create my-org"
|
|
826
830
|
messages:
|
|
827
|
-
onStart:
|
|
831
|
+
onStart: "Creating organization..."
|
|
828
832
|
onSuccess: "Organization '{{name}}' created successfully\nOrganization ID: {{id}}"
|
|
829
|
-
onFailure:
|
|
833
|
+
onFailure: "Failed to create organization"
|
|
830
834
|
hint: "Next steps:\n - Select this organization: tigris orgs select {{name}}"
|
|
831
835
|
nextActions:
|
|
832
|
-
- command:
|
|
833
|
-
description:
|
|
836
|
+
- command: "tigris orgs select {{name}}"
|
|
837
|
+
description: "Select this organization as active"
|
|
834
838
|
arguments:
|
|
835
839
|
- name: name
|
|
836
840
|
type: positional
|
|
@@ -845,14 +849,14 @@ commands:
|
|
|
845
849
|
examples:
|
|
846
850
|
- "tigris orgs select my-org"
|
|
847
851
|
messages:
|
|
848
|
-
onStart:
|
|
852
|
+
onStart: ""
|
|
849
853
|
onSuccess: "Organization '{{name}}' selected"
|
|
850
|
-
onFailure:
|
|
854
|
+
onFailure: "Failed to select organization"
|
|
851
855
|
nextActions:
|
|
852
|
-
- command:
|
|
853
|
-
description:
|
|
854
|
-
- command:
|
|
855
|
-
description:
|
|
856
|
+
- command: "tigris ls"
|
|
857
|
+
description: "List your buckets"
|
|
858
|
+
- command: "tigris buckets create <name>"
|
|
859
|
+
description: "Create a new bucket"
|
|
856
860
|
arguments:
|
|
857
861
|
- name: name
|
|
858
862
|
type: positional
|
|
@@ -868,13 +872,13 @@ commands:
|
|
|
868
872
|
- "tigris orgs delete"
|
|
869
873
|
- "tigris orgs delete <org-id> --yes"
|
|
870
874
|
messages:
|
|
871
|
-
onStart:
|
|
875
|
+
onStart: "Deleting organization..."
|
|
872
876
|
onSuccess: "Organization '{{name}}' deleted"
|
|
873
|
-
onFailure:
|
|
874
|
-
hint:
|
|
877
|
+
onFailure: "Failed to delete organization"
|
|
878
|
+
hint: 'That was your active organization. ''{{next}}'' ({{nextId}}) is active now; run "tigris orgs list" to switch'
|
|
875
879
|
nextActions:
|
|
876
|
-
- command:
|
|
877
|
-
description:
|
|
880
|
+
- command: "tigris orgs list"
|
|
881
|
+
description: "List your remaining organizations"
|
|
878
882
|
arguments:
|
|
879
883
|
- *yes_argument
|
|
880
884
|
- name: id
|
|
@@ -910,10 +914,10 @@ commands:
|
|
|
910
914
|
- "tigris buckets list --owner alice@example.com"
|
|
911
915
|
- "tigris buckets list --deleted"
|
|
912
916
|
messages:
|
|
913
|
-
onStart:
|
|
914
|
-
onSuccess:
|
|
915
|
-
onFailure:
|
|
916
|
-
onEmpty:
|
|
917
|
+
onStart: "Listing buckets..."
|
|
918
|
+
onSuccess: "Found {{count}} bucket(s)"
|
|
919
|
+
onFailure: "Failed to list buckets"
|
|
920
|
+
onEmpty: "No buckets found"
|
|
917
921
|
arguments:
|
|
918
922
|
- name: format
|
|
919
923
|
description: Output format
|
|
@@ -947,17 +951,19 @@ commands:
|
|
|
947
951
|
- "tigris buckets create my-bucket --enable-snapshots --default-tier STANDARD_IA"
|
|
948
952
|
- "tigris buckets create my-bucket --allow-object-acl"
|
|
949
953
|
- "tigris buckets create my-bucket --public --enable-directory-listing"
|
|
954
|
+
- "tigris buckets create my-bucket --global-user-metadata"
|
|
955
|
+
- "tigris buckets create my-bucket --soft-delete --retention-days 30"
|
|
950
956
|
- "tigris buckets create my-fork --fork-of my-bucket"
|
|
951
957
|
- "tigris buckets create my-fork --fork-of my-bucket --source-snapshot 1765889000501544464"
|
|
952
958
|
messages:
|
|
953
|
-
onStart:
|
|
959
|
+
onStart: "Creating bucket..."
|
|
954
960
|
onSuccess: "Bucket '{{name}}' created successfully"
|
|
955
|
-
onFailure:
|
|
961
|
+
onFailure: "Failed to create bucket"
|
|
956
962
|
nextActions:
|
|
957
|
-
- command:
|
|
958
|
-
description:
|
|
959
|
-
- command:
|
|
960
|
-
description:
|
|
963
|
+
- command: "tigris access-keys create <name>"
|
|
964
|
+
description: "Create an access key for programmatic access"
|
|
965
|
+
- command: "tigris cp ./file t3://{{name}}/"
|
|
966
|
+
description: "Upload files to the new bucket"
|
|
961
967
|
arguments:
|
|
962
968
|
- name: name
|
|
963
969
|
description: Name of the bucket
|
|
@@ -986,6 +992,19 @@ commands:
|
|
|
986
992
|
description: Enable directory listing, relevant for public buckets
|
|
987
993
|
type: flag
|
|
988
994
|
default: false
|
|
995
|
+
- name: global-user-metadata
|
|
996
|
+
description: Replicate object user metadata to every region so metadata listings work from anywhere. Cannot be changed after creation
|
|
997
|
+
helpText: Replicate object user metadata to every region
|
|
998
|
+
type: flag
|
|
999
|
+
default: false
|
|
1000
|
+
- name: soft-delete
|
|
1001
|
+
description: Enable soft delete so deleted objects can be recovered within the retention window. Requires --retention-days. Change it later with "tigris buckets set --soft-delete"
|
|
1002
|
+
helpText: Enable soft delete (requires --retention-days)
|
|
1003
|
+
type: flag
|
|
1004
|
+
default: false
|
|
1005
|
+
- name: retention-days
|
|
1006
|
+
description: Number of days (7-90) to retain soft-deleted objects. Requires --soft-delete
|
|
1007
|
+
helpText: Days (7-90) to retain soft-deleted objects
|
|
989
1008
|
- name: default-tier
|
|
990
1009
|
description: Choose the default tier for the bucket
|
|
991
1010
|
alias: t
|
|
@@ -1003,7 +1022,7 @@ commands:
|
|
|
1003
1022
|
description: Location for the bucket
|
|
1004
1023
|
alias: l
|
|
1005
1024
|
options: *location_options
|
|
1006
|
-
default:
|
|
1025
|
+
default: "global"
|
|
1007
1026
|
- name: fork-of
|
|
1008
1027
|
description: Create this bucket as a fork (copy-on-write clone) of the named source bucket
|
|
1009
1028
|
alias: fork
|
|
@@ -1020,11 +1039,11 @@ commands:
|
|
|
1020
1039
|
- "tigris buckets rebase my-fork"
|
|
1021
1040
|
- "tigris buckets rebase my-fork --yes"
|
|
1022
1041
|
messages:
|
|
1023
|
-
onStart:
|
|
1042
|
+
onStart: "Rebasing fork..."
|
|
1024
1043
|
onSuccess: "Fork '{{fork}}' rebased onto its source (snapshot {{snapshotVersion}})"
|
|
1025
1044
|
onFailure: "Failed to rebase fork '{{fork}}'"
|
|
1026
1045
|
nextActions:
|
|
1027
|
-
- command:
|
|
1046
|
+
- command: "tigris buckets merge {{fork}}"
|
|
1028
1047
|
description: "Merge the fork's changes back into its source bucket"
|
|
1029
1048
|
arguments:
|
|
1030
1049
|
- *yes_argument
|
|
@@ -1044,12 +1063,12 @@ commands:
|
|
|
1044
1063
|
- "tigris buckets merge my-fork --from-snapshot 1765889000501544464"
|
|
1045
1064
|
- "tigris buckets merge my-fork --yes"
|
|
1046
1065
|
messages:
|
|
1047
|
-
onStart:
|
|
1066
|
+
onStart: "Merging fork..."
|
|
1048
1067
|
onSuccess: "Fork '{{fork}}' merged into '{{into}}' (snapshot {{snapshotVersion}})"
|
|
1049
1068
|
onFailure: "Failed to merge fork '{{fork}}'"
|
|
1050
1069
|
nextActions:
|
|
1051
|
-
- command:
|
|
1052
|
-
description:
|
|
1070
|
+
- command: "tigris buckets get {{into}}"
|
|
1071
|
+
description: "Inspect the updated source bucket"
|
|
1053
1072
|
arguments:
|
|
1054
1073
|
- *yes_argument
|
|
1055
1074
|
- name: fork
|
|
@@ -1074,9 +1093,9 @@ commands:
|
|
|
1074
1093
|
examples:
|
|
1075
1094
|
- "tigris buckets get my-bucket"
|
|
1076
1095
|
messages:
|
|
1077
|
-
onStart:
|
|
1078
|
-
onSuccess:
|
|
1079
|
-
onFailure:
|
|
1096
|
+
onStart: "Getting bucket details..."
|
|
1097
|
+
onSuccess: ""
|
|
1098
|
+
onFailure: "Failed to get bucket details"
|
|
1080
1099
|
arguments:
|
|
1081
1100
|
- name: name
|
|
1082
1101
|
description: Name of the bucket
|
|
@@ -1098,12 +1117,12 @@ commands:
|
|
|
1098
1117
|
- "tigris buckets delete my-bucket --yes"
|
|
1099
1118
|
- "tigris buckets delete bucket-a,bucket-b --yes"
|
|
1100
1119
|
messages:
|
|
1101
|
-
onStart:
|
|
1120
|
+
onStart: "Deleting bucket..."
|
|
1102
1121
|
onSuccess: "Bucket '{{name}}' deleted successfully"
|
|
1103
1122
|
onFailure: "Failed to delete bucket '{{name}}'"
|
|
1104
1123
|
nextActions:
|
|
1105
|
-
- command:
|
|
1106
|
-
description:
|
|
1124
|
+
- command: "tigris ls"
|
|
1125
|
+
description: "List remaining buckets"
|
|
1107
1126
|
arguments:
|
|
1108
1127
|
- *yes_argument
|
|
1109
1128
|
- name: name
|
|
@@ -1124,12 +1143,12 @@ commands:
|
|
|
1124
1143
|
examples:
|
|
1125
1144
|
- "tigris buckets restore my-bucket"
|
|
1126
1145
|
messages:
|
|
1127
|
-
onStart:
|
|
1146
|
+
onStart: "Restoring bucket..."
|
|
1128
1147
|
onSuccess: "Bucket '{{name}}' restored successfully"
|
|
1129
1148
|
onFailure: "Failed to restore bucket '{{name}}'"
|
|
1130
1149
|
nextActions:
|
|
1131
|
-
- command:
|
|
1132
|
-
description:
|
|
1150
|
+
- command: "tigris buckets get {{name}}"
|
|
1151
|
+
description: "Inspect the restored bucket"
|
|
1133
1152
|
arguments:
|
|
1134
1153
|
- name: name
|
|
1135
1154
|
description: Name of the soft-deleted bucket to restore
|
|
@@ -1147,12 +1166,12 @@ commands:
|
|
|
1147
1166
|
- "tigris buckets purge my-bucket --yes"
|
|
1148
1167
|
- "tigris buckets purge bucket-a,bucket-b --yes"
|
|
1149
1168
|
messages:
|
|
1150
|
-
onStart:
|
|
1169
|
+
onStart: "Purging bucket..."
|
|
1151
1170
|
onSuccess: "Bucket '{{name}}' purged"
|
|
1152
1171
|
onFailure: "Failed to purge bucket '{{name}}'"
|
|
1153
1172
|
nextActions:
|
|
1154
|
-
- command:
|
|
1155
|
-
description:
|
|
1173
|
+
- command: "tigris buckets list --deleted"
|
|
1174
|
+
description: "List the remaining soft-deleted buckets"
|
|
1156
1175
|
arguments:
|
|
1157
1176
|
- *yes_argument
|
|
1158
1177
|
- name: name
|
|
@@ -1179,9 +1198,9 @@ commands:
|
|
|
1179
1198
|
- "tigris buckets set my-bucket --soft-delete enable --retention-days 30"
|
|
1180
1199
|
- "tigris buckets set my-bucket --soft-delete disable"
|
|
1181
1200
|
messages:
|
|
1182
|
-
onStart:
|
|
1183
|
-
onSuccess:
|
|
1184
|
-
onFailure:
|
|
1201
|
+
onStart: "Updating bucket..."
|
|
1202
|
+
onSuccess: "Bucket {{name}} updated successfully"
|
|
1203
|
+
onFailure: "Failed to update bucket"
|
|
1185
1204
|
arguments:
|
|
1186
1205
|
- name: name
|
|
1187
1206
|
description: Name of the bucket
|
|
@@ -1236,9 +1255,9 @@ commands:
|
|
|
1236
1255
|
examples:
|
|
1237
1256
|
- "tigris buckets enable-snapshots my-bucket"
|
|
1238
1257
|
messages:
|
|
1239
|
-
onStart:
|
|
1240
|
-
onSuccess:
|
|
1241
|
-
onFailure:
|
|
1258
|
+
onStart: "Enabling snapshots..."
|
|
1259
|
+
onSuccess: "Snapshots enabled for bucket {{name}}"
|
|
1260
|
+
onFailure: "Failed to enable snapshots"
|
|
1242
1261
|
arguments:
|
|
1243
1262
|
- name: name
|
|
1244
1263
|
description: Name of the bucket
|
|
@@ -1254,9 +1273,9 @@ commands:
|
|
|
1254
1273
|
examples:
|
|
1255
1274
|
- "tigris buckets disable-snapshots my-bucket"
|
|
1256
1275
|
messages:
|
|
1257
|
-
onStart:
|
|
1258
|
-
onSuccess:
|
|
1259
|
-
onFailure:
|
|
1276
|
+
onStart: "Disabling snapshots..."
|
|
1277
|
+
onSuccess: "Snapshots disabled for bucket {{name}}"
|
|
1278
|
+
onFailure: "Failed to disable snapshots"
|
|
1260
1279
|
arguments:
|
|
1261
1280
|
- name: name
|
|
1262
1281
|
description: Name of the bucket
|
|
@@ -1267,7 +1286,7 @@ commands:
|
|
|
1267
1286
|
# set-ttl
|
|
1268
1287
|
- name: set-ttl
|
|
1269
1288
|
removed: true
|
|
1270
|
-
replaced_by:
|
|
1289
|
+
replaced_by: "tigris buckets lifecycle create <bucket> --expire-days <N>"
|
|
1271
1290
|
# set-locations
|
|
1272
1291
|
- name: set-locations
|
|
1273
1292
|
group: Configuration
|
|
@@ -1277,9 +1296,9 @@ commands:
|
|
|
1277
1296
|
- "tigris buckets set-locations my-bucket --locations iad,fra"
|
|
1278
1297
|
- "tigris buckets set-locations my-bucket --locations global"
|
|
1279
1298
|
messages:
|
|
1280
|
-
onStart:
|
|
1281
|
-
onSuccess:
|
|
1282
|
-
onFailure:
|
|
1299
|
+
onStart: "Updating bucket locations..."
|
|
1300
|
+
onSuccess: "Locations updated for bucket {{name}}"
|
|
1301
|
+
onFailure: "Failed to update bucket locations"
|
|
1283
1302
|
arguments:
|
|
1284
1303
|
- name: name
|
|
1285
1304
|
description: Name of the bucket
|
|
@@ -1300,11 +1319,12 @@ commands:
|
|
|
1300
1319
|
examples:
|
|
1301
1320
|
- "tigris buckets set-migration my-bucket --bucket source-bucket --endpoint https://s3.amazonaws.com --region us-east-1 --access-key AKIA... --secret-key wJal..."
|
|
1302
1321
|
- "tigris buckets set-migration my-bucket --bucket source-bucket --endpoint https://s3.amazonaws.com --region us-east-1 --access-key AKIA... --secret-key wJal... --write-through"
|
|
1322
|
+
- "tigris buckets set-migration my-bucket --bucket source-bucket --endpoint https://s3.amazonaws.com --region us-east-1 --access-key AKIA... --secret-key wJal... --write-through --skip-patterns 'tmp/*,*.tmp'"
|
|
1303
1323
|
- "tigris buckets set-migration my-bucket --disable"
|
|
1304
1324
|
messages:
|
|
1305
|
-
onStart:
|
|
1306
|
-
onSuccess:
|
|
1307
|
-
onFailure:
|
|
1325
|
+
onStart: "Updating migration settings..."
|
|
1326
|
+
onSuccess: "Migration settings updated for bucket {{name}}"
|
|
1327
|
+
onFailure: "Failed to update migration settings"
|
|
1308
1328
|
arguments:
|
|
1309
1329
|
- name: name
|
|
1310
1330
|
description: Name of the bucket
|
|
@@ -1330,6 +1350,10 @@ commands:
|
|
|
1330
1350
|
- name: write-through
|
|
1331
1351
|
description: Enable write-through mode (writes go to both source and Tigris)
|
|
1332
1352
|
type: flag
|
|
1353
|
+
- name: skip-patterns
|
|
1354
|
+
description: Object keys never copied into Tigris, on write or on a read miss (comma-separated). Writes still go to the source bucket. Each pattern matches the whole key, and `*` matches any characters including `/`, e.g. `tmp/*`, `*.tmp`, `manifest.json`. Up to 32 patterns of 512 bytes. Settings are replaced as a whole, so omitting this clears existing patterns
|
|
1355
|
+
helpText: Keys never copied into Tigris, e.g. "tmp/*,*.tmp" (comma-separated)
|
|
1356
|
+
multiple: true
|
|
1333
1357
|
- name: disable
|
|
1334
1358
|
description: Disable migration and clear all migration settings
|
|
1335
1359
|
type: flag
|
|
@@ -1344,9 +1368,9 @@ commands:
|
|
|
1344
1368
|
- "tigris buckets migrate t3://my-bucket/prefix/"
|
|
1345
1369
|
- "tigris buckets migrate my-bucket --max-in-flight-gb 100"
|
|
1346
1370
|
messages:
|
|
1347
|
-
onStart:
|
|
1348
|
-
onSuccess:
|
|
1349
|
-
onFailure:
|
|
1371
|
+
onStart: ""
|
|
1372
|
+
onSuccess: ""
|
|
1373
|
+
onFailure: "Migration failed"
|
|
1350
1374
|
arguments:
|
|
1351
1375
|
- name: path
|
|
1352
1376
|
description: Bucket name or path with optional prefix. Supports t3:// and tigris:// prefixes
|
|
@@ -1359,11 +1383,11 @@ commands:
|
|
|
1359
1383
|
- name: max-in-flight-gb
|
|
1360
1384
|
description: Max total gigabytes of scheduled-but-unconfirmed migrations to keep in flight. Accepts 1-100
|
|
1361
1385
|
helpText: Max gigabytes of unconfirmed migrations to keep in flight (1-100)
|
|
1362
|
-
default:
|
|
1386
|
+
default: "50"
|
|
1363
1387
|
# set-transition
|
|
1364
1388
|
- name: set-transition
|
|
1365
1389
|
removed: true
|
|
1366
|
-
replaced_by:
|
|
1390
|
+
replaced_by: "tigris buckets lifecycle create <bucket> --storage-class <class> --days <N>"
|
|
1367
1391
|
# lifecycle
|
|
1368
1392
|
- name: lifecycle
|
|
1369
1393
|
group: Configuration
|
|
@@ -1383,10 +1407,10 @@ commands:
|
|
|
1383
1407
|
- "tigris buckets lifecycle list my-bucket"
|
|
1384
1408
|
- "tigris buckets lifecycle list my-bucket --json"
|
|
1385
1409
|
messages:
|
|
1386
|
-
onStart:
|
|
1387
|
-
onSuccess:
|
|
1388
|
-
onFailure:
|
|
1389
|
-
onEmpty:
|
|
1410
|
+
onStart: ""
|
|
1411
|
+
onSuccess: ""
|
|
1412
|
+
onFailure: "Failed to list lifecycle rules"
|
|
1413
|
+
onEmpty: "No lifecycle rules configured"
|
|
1390
1414
|
arguments:
|
|
1391
1415
|
- name: name
|
|
1392
1416
|
description: Name of the bucket
|
|
@@ -1408,9 +1432,9 @@ commands:
|
|
|
1408
1432
|
- "tigris buckets lifecycle create my-bucket --prefix tmp/ --expire-days 7"
|
|
1409
1433
|
- "tigris buckets lifecycle create my-bucket --prefix archive/ --storage-class GLACIER --days 30 --expire-days 365"
|
|
1410
1434
|
messages:
|
|
1411
|
-
onStart:
|
|
1412
|
-
onSuccess:
|
|
1413
|
-
onFailure:
|
|
1435
|
+
onStart: "Creating lifecycle rule..."
|
|
1436
|
+
onSuccess: "Lifecycle rule created on bucket {{name}} (id: {{id}})"
|
|
1437
|
+
onFailure: "Failed to create lifecycle rule"
|
|
1414
1438
|
arguments:
|
|
1415
1439
|
- name: name
|
|
1416
1440
|
description: Name of the bucket
|
|
@@ -1447,9 +1471,9 @@ commands:
|
|
|
1447
1471
|
- "tigris buckets lifecycle edit my-bucket abc123 --expire-days 90"
|
|
1448
1472
|
- "tigris buckets lifecycle edit my-bucket abc123 --enable"
|
|
1449
1473
|
messages:
|
|
1450
|
-
onStart:
|
|
1451
|
-
onSuccess:
|
|
1452
|
-
onFailure:
|
|
1474
|
+
onStart: "Updating lifecycle rule..."
|
|
1475
|
+
onSuccess: "Lifecycle rule {{id}} updated on bucket {{name}}"
|
|
1476
|
+
onFailure: "Failed to update lifecycle rule"
|
|
1453
1477
|
arguments:
|
|
1454
1478
|
- name: name
|
|
1455
1479
|
description: Name of the bucket
|
|
@@ -1497,9 +1521,9 @@ commands:
|
|
|
1497
1521
|
- "tigris buckets set-notifications my-bucket --disable"
|
|
1498
1522
|
- "tigris buckets set-notifications my-bucket --reset"
|
|
1499
1523
|
messages:
|
|
1500
|
-
onStart:
|
|
1501
|
-
onSuccess:
|
|
1502
|
-
onFailure:
|
|
1524
|
+
onStart: "Updating notification settings..."
|
|
1525
|
+
onSuccess: "Notification settings updated for bucket {{name}}"
|
|
1526
|
+
onFailure: "Failed to update notification settings"
|
|
1503
1527
|
arguments:
|
|
1504
1528
|
- name: name
|
|
1505
1529
|
description: Name of the bucket
|
|
@@ -1511,7 +1535,7 @@ commands:
|
|
|
1511
1535
|
description: Webhook URL to send notifications to (must be http or https)
|
|
1512
1536
|
alias: u
|
|
1513
1537
|
- name: filter
|
|
1514
|
-
description:
|
|
1538
|
+
description: 'SQL WHERE clause to filter events by key (e.g. WHERE `key` REGEXP "^images")'
|
|
1515
1539
|
alias: f
|
|
1516
1540
|
- name: token
|
|
1517
1541
|
description: Token for webhook authentication
|
|
@@ -1540,9 +1564,9 @@ commands:
|
|
|
1540
1564
|
- "tigris buckets set-cors my-bucket --origins https://example.com --override"
|
|
1541
1565
|
- "tigris buckets set-cors my-bucket --reset"
|
|
1542
1566
|
messages:
|
|
1543
|
-
onStart:
|
|
1544
|
-
onSuccess:
|
|
1545
|
-
onFailure:
|
|
1567
|
+
onStart: "Updating CORS settings..."
|
|
1568
|
+
onSuccess: "CORS settings updated for bucket {{name}}"
|
|
1569
|
+
onFailure: "Failed to update CORS settings"
|
|
1546
1570
|
arguments:
|
|
1547
1571
|
- name: name
|
|
1548
1572
|
description: Name of the bucket
|
|
@@ -1561,7 +1585,7 @@ commands:
|
|
|
1561
1585
|
- name: expose-headers
|
|
1562
1586
|
description: Response headers to expose (comma-separated)
|
|
1563
1587
|
- name: max-age
|
|
1564
|
-
description:
|
|
1588
|
+
description: "Preflight cache duration in seconds (default: 3600)"
|
|
1565
1589
|
- name: override
|
|
1566
1590
|
description: Replace all existing CORS rules instead of appending
|
|
1567
1591
|
type: flag
|
|
@@ -1582,9 +1606,9 @@ commands:
|
|
|
1582
1606
|
- "tigris buckets share my-bucket --team tmid_MQQUhV --role Editor --override"
|
|
1583
1607
|
- "tigris buckets share my-bucket --reset"
|
|
1584
1608
|
messages:
|
|
1585
|
-
onStart:
|
|
1586
|
-
onSuccess:
|
|
1587
|
-
onFailure:
|
|
1609
|
+
onStart: "Updating bucket shares..."
|
|
1610
|
+
onSuccess: "Shares updated for bucket {{name}}"
|
|
1611
|
+
onFailure: "Failed to update bucket shares"
|
|
1588
1612
|
arguments:
|
|
1589
1613
|
- name: name
|
|
1590
1614
|
description: Name of the bucket
|
|
@@ -1629,7 +1653,7 @@ commands:
|
|
|
1629
1653
|
- name: forks
|
|
1630
1654
|
alias: f
|
|
1631
1655
|
removed: true
|
|
1632
|
-
replaced_by:
|
|
1656
|
+
replaced_by: "tigris buckets create --fork-of and tigris buckets list --forks-of"
|
|
1633
1657
|
|
|
1634
1658
|
#########################
|
|
1635
1659
|
# Manage snapshots
|
|
@@ -1653,10 +1677,10 @@ commands:
|
|
|
1653
1677
|
- "tigris snapshots list my-bucket"
|
|
1654
1678
|
- "tigris snapshots list my-bucket --format json"
|
|
1655
1679
|
messages:
|
|
1656
|
-
onStart:
|
|
1657
|
-
onSuccess:
|
|
1658
|
-
onFailure:
|
|
1659
|
-
onEmpty:
|
|
1680
|
+
onStart: "Listing snapshots..."
|
|
1681
|
+
onSuccess: "Found {{count}} snapshot(s)"
|
|
1682
|
+
onFailure: "Failed to list snapshots"
|
|
1683
|
+
onEmpty: "No snapshots found for this bucket"
|
|
1660
1684
|
arguments:
|
|
1661
1685
|
- name: name
|
|
1662
1686
|
description: Name of the bucket
|
|
@@ -1682,9 +1706,9 @@ commands:
|
|
|
1682
1706
|
- "tigris snapshots take my-bucket"
|
|
1683
1707
|
- "tigris snapshots take my-bucket my-snapshot"
|
|
1684
1708
|
messages:
|
|
1685
|
-
onStart:
|
|
1709
|
+
onStart: "Taking snapshot..."
|
|
1686
1710
|
onSuccess: "Snapshot '{{snapshotName}}' taken for bucket '{{name}}'"
|
|
1687
|
-
onFailure:
|
|
1711
|
+
onFailure: "Failed to take snapshot"
|
|
1688
1712
|
arguments:
|
|
1689
1713
|
- name: name
|
|
1690
1714
|
description: Name of the bucket
|
|
@@ -1707,12 +1731,12 @@ commands:
|
|
|
1707
1731
|
- "tigris snapshots delete my-bucket 1765889000501544464 --yes"
|
|
1708
1732
|
- "tigris snapshots delete my-bucket 1765889000501544464,1765889000501544465 --yes"
|
|
1709
1733
|
messages:
|
|
1710
|
-
onStart:
|
|
1734
|
+
onStart: "Deleting snapshot..."
|
|
1711
1735
|
onSuccess: "Snapshot '{{version}}' deleted from bucket '{{name}}'"
|
|
1712
1736
|
onFailure: "Failed to delete snapshot '{{version}}'"
|
|
1713
1737
|
nextActions:
|
|
1714
|
-
- command:
|
|
1715
|
-
description:
|
|
1738
|
+
- command: "tigris snapshots list {{name}}"
|
|
1739
|
+
description: "List remaining snapshots"
|
|
1716
1740
|
arguments:
|
|
1717
1741
|
- *yes_argument
|
|
1718
1742
|
- name: name
|
|
@@ -1765,10 +1789,10 @@ commands:
|
|
|
1765
1789
|
- "tigris objects list my-bucket --format json"
|
|
1766
1790
|
- "tigris objects list my-bucket --deleted"
|
|
1767
1791
|
messages:
|
|
1768
|
-
onStart:
|
|
1769
|
-
onSuccess:
|
|
1770
|
-
onFailure:
|
|
1771
|
-
onEmpty:
|
|
1792
|
+
onStart: "Listing objects..."
|
|
1793
|
+
onSuccess: "Found {{count}} object(s)"
|
|
1794
|
+
onFailure: "Failed to list objects"
|
|
1795
|
+
onEmpty: "No objects found"
|
|
1772
1796
|
arguments:
|
|
1773
1797
|
- name: bucket
|
|
1774
1798
|
description: Name of the bucket, or a path with optional prefix (t3://bucket/prefix/)
|
|
@@ -1815,10 +1839,10 @@ commands:
|
|
|
1815
1839
|
- "tigris objects list-versions my-bucket --format json"
|
|
1816
1840
|
- "tigris objects list-versions my-bucket --prefix report.pdf --deleted"
|
|
1817
1841
|
messages:
|
|
1818
|
-
onStart:
|
|
1819
|
-
onSuccess:
|
|
1820
|
-
onFailure:
|
|
1821
|
-
onEmpty:
|
|
1842
|
+
onStart: "Listing object versions..."
|
|
1843
|
+
onSuccess: "Found {{versions}} version(s) and {{deleteMarkers}} delete marker(s)"
|
|
1844
|
+
onFailure: "Failed to list object versions"
|
|
1845
|
+
onEmpty: "No versions or delete markers found"
|
|
1822
1846
|
arguments:
|
|
1823
1847
|
- name: bucket
|
|
1824
1848
|
description: Name of the bucket, or a path with optional prefix (t3://bucket/prefix/)
|
|
@@ -1861,9 +1885,9 @@ commands:
|
|
|
1861
1885
|
- "tigris objects get t3://my-bucket/config.json"
|
|
1862
1886
|
- "tigris objects get my-bucket archive.zip --output ./archive.zip --mode stream"
|
|
1863
1887
|
messages:
|
|
1864
|
-
onStart:
|
|
1865
|
-
onSuccess:
|
|
1866
|
-
onFailure:
|
|
1888
|
+
onStart: "Getting object..."
|
|
1889
|
+
onSuccess: ""
|
|
1890
|
+
onFailure: "Failed to get object"
|
|
1867
1891
|
arguments:
|
|
1868
1892
|
- name: bucket
|
|
1869
1893
|
description: Name of the bucket, or a full path (t3://bucket/key)
|
|
@@ -1906,12 +1930,12 @@ commands:
|
|
|
1906
1930
|
- "echo 'hello' | tigris objects put t3://my-bucket/hello.txt"
|
|
1907
1931
|
- "cat report.pdf | tigris objects put my-bucket report.pdf --content-type application/pdf"
|
|
1908
1932
|
messages:
|
|
1909
|
-
onStart:
|
|
1933
|
+
onStart: "Uploading object..."
|
|
1910
1934
|
onSuccess: "Object '{{key}}' uploaded successfully"
|
|
1911
|
-
onFailure:
|
|
1935
|
+
onFailure: "Failed to upload object"
|
|
1912
1936
|
nextActions:
|
|
1913
|
-
- command:
|
|
1914
|
-
description:
|
|
1937
|
+
- command: "tigris presign {{bucket}}/{{key}}"
|
|
1938
|
+
description: "Generate a presigned URL for the uploaded object"
|
|
1915
1939
|
arguments:
|
|
1916
1940
|
- name: bucket
|
|
1917
1941
|
description: Name of the bucket, or a full path (t3://bucket/key)
|
|
@@ -1959,12 +1983,12 @@ commands:
|
|
|
1959
1983
|
- "tigris objects delete my-bucket old-file.txt --version-id abc123 --yes"
|
|
1960
1984
|
- "tigris objects delete my-bucket old-file.txt --all-versions --yes"
|
|
1961
1985
|
messages:
|
|
1962
|
-
onStart:
|
|
1986
|
+
onStart: "Deleting object..."
|
|
1963
1987
|
onSuccess: "Object '{{key}}' deleted successfully"
|
|
1964
|
-
onFailure:
|
|
1988
|
+
onFailure: "Failed to delete object"
|
|
1965
1989
|
nextActions:
|
|
1966
|
-
- command:
|
|
1967
|
-
description:
|
|
1990
|
+
- command: "tigris ls {{bucket}}"
|
|
1991
|
+
description: "List remaining objects in the bucket"
|
|
1968
1992
|
arguments:
|
|
1969
1993
|
- *yes_argument
|
|
1970
1994
|
- name: bucket
|
|
@@ -2003,10 +2027,10 @@ commands:
|
|
|
2003
2027
|
- "tigris objects set t3://my-bucket/my-file.txt --access public"
|
|
2004
2028
|
- "tigris objects set my-bucket my-file.txt --access private"
|
|
2005
2029
|
messages:
|
|
2006
|
-
onStart:
|
|
2030
|
+
onStart: "Updating object..."
|
|
2007
2031
|
onSuccess: "Object '{{key}}' updated successfully"
|
|
2008
|
-
onFailure:
|
|
2009
|
-
onDeprecated:
|
|
2032
|
+
onFailure: "Failed to update object"
|
|
2033
|
+
onDeprecated: "tigris objects set is deprecated. Use `tigris objects set-access` for ACL changes and `tigris mv` to rename objects. This command will be removed in a future release."
|
|
2010
2034
|
arguments:
|
|
2011
2035
|
- name: bucket
|
|
2012
2036
|
description: Name of the bucket, or a full path (t3://bucket/key)
|
|
@@ -2033,9 +2057,9 @@ commands:
|
|
|
2033
2057
|
- "tigris objects set-access my-bucket my-file.txt public"
|
|
2034
2058
|
- "tigris objects set-access t3://my-bucket/my-file.txt private"
|
|
2035
2059
|
messages:
|
|
2036
|
-
onStart:
|
|
2060
|
+
onStart: "Updating object access..."
|
|
2037
2061
|
onSuccess: "Access for '{{key}}' updated to {{access}}"
|
|
2038
|
-
onFailure:
|
|
2062
|
+
onFailure: "Failed to update object access"
|
|
2039
2063
|
arguments:
|
|
2040
2064
|
- name: bucket
|
|
2041
2065
|
description: Name of the bucket, or a full path (t3://bucket/key)
|
|
@@ -2065,9 +2089,9 @@ commands:
|
|
|
2065
2089
|
- "tigris objects info my-bucket report.pdf --format json"
|
|
2066
2090
|
- "tigris objects info my-bucket report.pdf --version-id abc123"
|
|
2067
2091
|
messages:
|
|
2068
|
-
onStart:
|
|
2069
|
-
onSuccess:
|
|
2070
|
-
onFailure:
|
|
2092
|
+
onStart: ""
|
|
2093
|
+
onSuccess: ""
|
|
2094
|
+
onFailure: "Failed to get object info"
|
|
2071
2095
|
arguments:
|
|
2072
2096
|
- name: bucket
|
|
2073
2097
|
type: positional
|
|
@@ -2097,9 +2121,9 @@ commands:
|
|
|
2097
2121
|
- "tigris objects restore t3://my-bucket/archived.bin --days 7"
|
|
2098
2122
|
- "tigris objects restore my-bucket archived.bin --snapshot-version 1765889000501544464"
|
|
2099
2123
|
messages:
|
|
2100
|
-
onStart:
|
|
2124
|
+
onStart: "Requesting restore..."
|
|
2101
2125
|
onSuccess: "Restore requested for '{{key}}'"
|
|
2102
|
-
onFailure:
|
|
2126
|
+
onFailure: "Failed to restore object"
|
|
2103
2127
|
arguments:
|
|
2104
2128
|
- name: bucket
|
|
2105
2129
|
type: positional
|
|
@@ -2135,10 +2159,10 @@ commands:
|
|
|
2135
2159
|
- "tigris objects restore-info t3://my-bucket/archived.bin --format json"
|
|
2136
2160
|
- "tigris objects restore-info my-bucket archived.bin --snapshot-version 1765889000501544464"
|
|
2137
2161
|
messages:
|
|
2138
|
-
onStart:
|
|
2139
|
-
onSuccess:
|
|
2140
|
-
onFailure:
|
|
2141
|
-
onEmpty:
|
|
2162
|
+
onStart: ""
|
|
2163
|
+
onSuccess: ""
|
|
2164
|
+
onFailure: "Failed to get restore info"
|
|
2165
|
+
onEmpty: "No restore information for this object (it is not archived)"
|
|
2142
2166
|
arguments:
|
|
2143
2167
|
- name: bucket
|
|
2144
2168
|
type: positional
|
|
@@ -2168,12 +2192,12 @@ commands:
|
|
|
2168
2192
|
- "tigris objects restore-deleted my-bucket report.pdf --version-id 1787749774802410496"
|
|
2169
2193
|
- "tigris objects restore-deleted t3://my-bucket/report.pdf --version-id 1787749774802410496"
|
|
2170
2194
|
messages:
|
|
2171
|
-
onStart:
|
|
2195
|
+
onStart: "Restoring deleted object..."
|
|
2172
2196
|
onSuccess: "Object '{{key}}' restored successfully"
|
|
2173
|
-
onFailure:
|
|
2197
|
+
onFailure: "Failed to restore deleted object"
|
|
2174
2198
|
nextActions:
|
|
2175
|
-
- command:
|
|
2176
|
-
description:
|
|
2199
|
+
- command: "tigris ls {{bucket}}"
|
|
2200
|
+
description: "List objects in the bucket"
|
|
2177
2201
|
arguments:
|
|
2178
2202
|
- name: bucket
|
|
2179
2203
|
type: positional
|
|
@@ -2205,9 +2229,9 @@ commands:
|
|
|
2205
2229
|
- "tigris objects purge my-bucket report.pdf --version-id 1787749774802410496 --yes"
|
|
2206
2230
|
- "tigris objects purge t3://my-bucket/report.pdf --version-id 1787749774802410496 --yes"
|
|
2207
2231
|
messages:
|
|
2208
|
-
onStart:
|
|
2232
|
+
onStart: "Purging deleted object..."
|
|
2209
2233
|
onSuccess: "Purged version '{{versionId}}' of '{{key}}'"
|
|
2210
|
-
onFailure:
|
|
2234
|
+
onFailure: "Failed to purge deleted object"
|
|
2211
2235
|
arguments:
|
|
2212
2236
|
- *yes_argument
|
|
2213
2237
|
- name: bucket
|
|
@@ -2253,10 +2277,10 @@ commands:
|
|
|
2253
2277
|
examples:
|
|
2254
2278
|
- "tigris access-keys list"
|
|
2255
2279
|
messages:
|
|
2256
|
-
onStart:
|
|
2257
|
-
onSuccess:
|
|
2258
|
-
onFailure:
|
|
2259
|
-
onEmpty:
|
|
2280
|
+
onStart: ""
|
|
2281
|
+
onSuccess: ""
|
|
2282
|
+
onFailure: "Failed to list access keys"
|
|
2283
|
+
onEmpty: "No access keys found"
|
|
2260
2284
|
arguments:
|
|
2261
2285
|
- name: format
|
|
2262
2286
|
description: Output format
|
|
@@ -2277,12 +2301,12 @@ commands:
|
|
|
2277
2301
|
- "tigris access-keys create ci --bucket my-app-bucket --role ReadOnly --default-permissions disable"
|
|
2278
2302
|
- 'eval "$(tigris access-keys create dev --bucket my-app-bucket --role Editor --export)"'
|
|
2279
2303
|
messages:
|
|
2280
|
-
onStart:
|
|
2281
|
-
onSuccess:
|
|
2282
|
-
onFailure:
|
|
2304
|
+
onStart: "Creating access key..."
|
|
2305
|
+
onSuccess: "Access key created"
|
|
2306
|
+
onFailure: "Failed to create access key"
|
|
2283
2307
|
nextActions:
|
|
2284
|
-
- command:
|
|
2285
|
-
description:
|
|
2308
|
+
- command: "tigris access-keys assign {{id}} --bucket <bucket> --role Editor"
|
|
2309
|
+
description: "Assign bucket roles to the new access key"
|
|
2286
2310
|
arguments:
|
|
2287
2311
|
- name: name
|
|
2288
2312
|
description: Name for the access key
|
|
@@ -2314,12 +2338,12 @@ commands:
|
|
|
2314
2338
|
- "tigris access-keys delete tid_AaBbCcDdEeFf --yes"
|
|
2315
2339
|
- "tigris access-keys delete tid_AaBb,tid_CcDd --yes"
|
|
2316
2340
|
messages:
|
|
2317
|
-
onStart:
|
|
2341
|
+
onStart: "Deleting access key..."
|
|
2318
2342
|
onSuccess: "Access key '{{id}}' deleted"
|
|
2319
2343
|
onFailure: "Failed to delete access key '{{id}}'"
|
|
2320
2344
|
nextActions:
|
|
2321
|
-
- command:
|
|
2322
|
-
description:
|
|
2345
|
+
- command: "tigris access-keys list"
|
|
2346
|
+
description: "List remaining access keys"
|
|
2323
2347
|
arguments:
|
|
2324
2348
|
- *yes_argument
|
|
2325
2349
|
- name: id
|
|
@@ -2339,9 +2363,9 @@ commands:
|
|
|
2339
2363
|
examples:
|
|
2340
2364
|
- "tigris access-keys get tid_AaBbCcDdEeFf"
|
|
2341
2365
|
messages:
|
|
2342
|
-
onStart:
|
|
2343
|
-
onSuccess:
|
|
2344
|
-
onFailure:
|
|
2366
|
+
onStart: ""
|
|
2367
|
+
onSuccess: ""
|
|
2368
|
+
onFailure: "Failed to get access key"
|
|
2345
2369
|
arguments:
|
|
2346
2370
|
- name: id
|
|
2347
2371
|
description: Access key ID
|
|
@@ -2359,12 +2383,12 @@ commands:
|
|
|
2359
2383
|
- "tigris access-keys assign tid_AaBb --admin"
|
|
2360
2384
|
- "tigris access-keys assign tid_AaBb --revoke-roles"
|
|
2361
2385
|
messages:
|
|
2362
|
-
onStart:
|
|
2363
|
-
onSuccess:
|
|
2364
|
-
onFailure:
|
|
2386
|
+
onStart: "Assigning bucket roles..."
|
|
2387
|
+
onSuccess: "Bucket roles assigned"
|
|
2388
|
+
onFailure: "Failed to assign bucket roles"
|
|
2365
2389
|
nextActions:
|
|
2366
|
-
- command:
|
|
2367
|
-
description:
|
|
2390
|
+
- command: "tigris cp ./file t3://<bucket>/"
|
|
2391
|
+
description: "Upload files using the assigned access key"
|
|
2368
2392
|
arguments:
|
|
2369
2393
|
- name: id
|
|
2370
2394
|
description: Access key ID
|
|
@@ -2386,9 +2410,9 @@ commands:
|
|
|
2386
2410
|
- "tigris access-keys set tid_AaBb --default-permissions disable"
|
|
2387
2411
|
- "tigris access-keys set tid_AaBb --default-permissions enable"
|
|
2388
2412
|
messages:
|
|
2389
|
-
onStart:
|
|
2413
|
+
onStart: "Updating access key..."
|
|
2390
2414
|
onSuccess: "Default permissions {{setting}} for access key '{{id}}'"
|
|
2391
|
-
onFailure:
|
|
2415
|
+
onFailure: "Failed to update access key"
|
|
2392
2416
|
arguments:
|
|
2393
2417
|
- name: id
|
|
2394
2418
|
description: Access key ID
|
|
@@ -2404,12 +2428,12 @@ commands:
|
|
|
2404
2428
|
examples:
|
|
2405
2429
|
- "tigris access-keys rotate tid_AaBbCcDdEeFf --yes"
|
|
2406
2430
|
messages:
|
|
2407
|
-
onStart:
|
|
2408
|
-
onSuccess:
|
|
2409
|
-
onFailure:
|
|
2431
|
+
onStart: "Rotating access key..."
|
|
2432
|
+
onSuccess: "Access key rotated"
|
|
2433
|
+
onFailure: "Failed to rotate access key"
|
|
2410
2434
|
nextActions:
|
|
2411
|
-
- command:
|
|
2412
|
-
description:
|
|
2435
|
+
- command: "tigris access-keys get {{id}}"
|
|
2436
|
+
description: "Verify the rotated access key"
|
|
2413
2437
|
arguments:
|
|
2414
2438
|
- *yes_argument
|
|
2415
2439
|
- name: id
|
|
@@ -2429,9 +2453,9 @@ commands:
|
|
|
2429
2453
|
- "tigris access-keys attach-policy tid_AaBb --policy-arn arn:aws:iam::org_id:policy/my-policy"
|
|
2430
2454
|
- "tigris access-keys attach-policy tid_AaBb"
|
|
2431
2455
|
messages:
|
|
2432
|
-
onStart:
|
|
2433
|
-
onSuccess:
|
|
2434
|
-
onFailure:
|
|
2456
|
+
onStart: "Attaching policy..."
|
|
2457
|
+
onSuccess: "Policy attached"
|
|
2458
|
+
onFailure: "Failed to attach policy"
|
|
2435
2459
|
arguments:
|
|
2436
2460
|
- name: id
|
|
2437
2461
|
description: Access key ID
|
|
@@ -2451,9 +2475,9 @@ commands:
|
|
|
2451
2475
|
- "tigris access-keys detach-policy tid_AaBb --policy-arn arn:aws:iam::org_id:policy/my-policy --yes"
|
|
2452
2476
|
- "tigris access-keys detach-policy tid_AaBb"
|
|
2453
2477
|
messages:
|
|
2454
|
-
onStart:
|
|
2455
|
-
onSuccess:
|
|
2456
|
-
onFailure:
|
|
2478
|
+
onStart: "Detaching policy..."
|
|
2479
|
+
onSuccess: "Policy detached"
|
|
2480
|
+
onFailure: "Failed to detach policy"
|
|
2457
2481
|
arguments:
|
|
2458
2482
|
- *yes_argument
|
|
2459
2483
|
- name: id
|
|
@@ -2475,10 +2499,10 @@ commands:
|
|
|
2475
2499
|
examples:
|
|
2476
2500
|
- "tigris access-keys list-policies tid_AaBbCcDdEeFf"
|
|
2477
2501
|
messages:
|
|
2478
|
-
onStart:
|
|
2479
|
-
onSuccess:
|
|
2480
|
-
onFailure:
|
|
2481
|
-
onEmpty:
|
|
2502
|
+
onStart: ""
|
|
2503
|
+
onSuccess: ""
|
|
2504
|
+
onFailure: "Failed to list policies for access key"
|
|
2505
|
+
onEmpty: "No policies attached to this access key"
|
|
2482
2506
|
arguments:
|
|
2483
2507
|
- name: id
|
|
2484
2508
|
description: Access key ID
|
|
@@ -2523,10 +2547,10 @@ commands:
|
|
|
2523
2547
|
examples:
|
|
2524
2548
|
- "tigris iam policies list"
|
|
2525
2549
|
messages:
|
|
2526
|
-
onStart:
|
|
2527
|
-
onSuccess:
|
|
2528
|
-
onFailure:
|
|
2529
|
-
onEmpty:
|
|
2550
|
+
onStart: ""
|
|
2551
|
+
onSuccess: ""
|
|
2552
|
+
onFailure: "Failed to list policies"
|
|
2553
|
+
onEmpty: "No policies found"
|
|
2530
2554
|
arguments:
|
|
2531
2555
|
- name: format
|
|
2532
2556
|
description: Output format
|
|
@@ -2545,10 +2569,10 @@ commands:
|
|
|
2545
2569
|
- "tigris iam policies get"
|
|
2546
2570
|
- "tigris iam policies get arn:aws:iam::org_id:policy/my-policy"
|
|
2547
2571
|
messages:
|
|
2548
|
-
onStart:
|
|
2549
|
-
onSuccess:
|
|
2550
|
-
onFailure:
|
|
2551
|
-
onEmpty:
|
|
2572
|
+
onStart: ""
|
|
2573
|
+
onSuccess: ""
|
|
2574
|
+
onFailure: "Failed to get policy"
|
|
2575
|
+
onEmpty: "No policies found"
|
|
2552
2576
|
arguments:
|
|
2553
2577
|
- name: resource
|
|
2554
2578
|
description: Policy ARN. If omitted, shows interactive selection
|
|
@@ -2566,12 +2590,12 @@ commands:
|
|
|
2566
2590
|
alias: c
|
|
2567
2591
|
examples:
|
|
2568
2592
|
- "tigris iam policies create my-policy --document policy.json"
|
|
2569
|
-
-
|
|
2593
|
+
- 'tigris iam policies create my-policy --document ''{"Version":"2012-10-17","Statement":[...]}'''
|
|
2570
2594
|
- "cat policy.json | tigris iam policies create my-policy"
|
|
2571
2595
|
messages:
|
|
2572
|
-
onStart:
|
|
2596
|
+
onStart: "Creating policy..."
|
|
2573
2597
|
onSuccess: "Policy '{{name}}' created"
|
|
2574
|
-
onFailure:
|
|
2598
|
+
onFailure: "Failed to create policy"
|
|
2575
2599
|
arguments:
|
|
2576
2600
|
- name: name
|
|
2577
2601
|
description: Policy name
|
|
@@ -2595,10 +2619,10 @@ commands:
|
|
|
2595
2619
|
- "tigris iam policies edit arn:aws:iam::org_id:policy/my-policy --document policy.json"
|
|
2596
2620
|
- "cat policy.json | tigris iam policies edit arn:aws:iam::org_id:policy/my-policy"
|
|
2597
2621
|
messages:
|
|
2598
|
-
onStart:
|
|
2622
|
+
onStart: "Updating policy..."
|
|
2599
2623
|
onSuccess: "Policy '{{resource}}' updated"
|
|
2600
|
-
onFailure:
|
|
2601
|
-
onEmpty:
|
|
2624
|
+
onFailure: "Failed to update policy"
|
|
2625
|
+
onEmpty: "No policies found"
|
|
2602
2626
|
arguments:
|
|
2603
2627
|
- name: resource
|
|
2604
2628
|
description: Policy ARN. If omitted, shows interactive selection
|
|
@@ -2622,10 +2646,10 @@ commands:
|
|
|
2622
2646
|
- "tigris iam policies delete"
|
|
2623
2647
|
- "tigris iam policies delete arn:aws:iam::org_id:policy/my-policy --yes"
|
|
2624
2648
|
messages:
|
|
2625
|
-
onStart:
|
|
2649
|
+
onStart: "Deleting policy..."
|
|
2626
2650
|
onSuccess: "Policy '{{resource}}' deleted"
|
|
2627
|
-
onFailure:
|
|
2628
|
-
onEmpty:
|
|
2651
|
+
onFailure: "Failed to delete policy"
|
|
2652
|
+
onEmpty: "No policies found"
|
|
2629
2653
|
arguments:
|
|
2630
2654
|
- *yes_argument
|
|
2631
2655
|
- name: resource
|
|
@@ -2645,10 +2669,10 @@ commands:
|
|
|
2645
2669
|
- "tigris iam policies link-key arn:aws:iam::org_id:policy/my-policy --id tid_AaBb"
|
|
2646
2670
|
- "tigris iam policies link-key"
|
|
2647
2671
|
messages:
|
|
2648
|
-
onStart:
|
|
2649
|
-
onSuccess:
|
|
2650
|
-
onFailure:
|
|
2651
|
-
onEmpty:
|
|
2672
|
+
onStart: "Linking access key..."
|
|
2673
|
+
onSuccess: "Access key linked"
|
|
2674
|
+
onFailure: "Failed to link access key"
|
|
2675
|
+
onEmpty: "No policies found"
|
|
2652
2676
|
arguments:
|
|
2653
2677
|
- name: resource
|
|
2654
2678
|
description: Policy ARN. If omitted, shows interactive selection
|
|
@@ -2668,10 +2692,10 @@ commands:
|
|
|
2668
2692
|
- "tigris iam policies unlink-key arn:aws:iam::org_id:policy/my-policy --id tid_AaBb --yes"
|
|
2669
2693
|
- "tigris iam policies unlink-key"
|
|
2670
2694
|
messages:
|
|
2671
|
-
onStart:
|
|
2672
|
-
onSuccess:
|
|
2673
|
-
onFailure:
|
|
2674
|
-
onEmpty:
|
|
2695
|
+
onStart: "Unlinking access key..."
|
|
2696
|
+
onSuccess: "Access key unlinked"
|
|
2697
|
+
onFailure: "Failed to unlink access key"
|
|
2698
|
+
onEmpty: "No policies found"
|
|
2675
2699
|
arguments:
|
|
2676
2700
|
- *yes_argument
|
|
2677
2701
|
- name: resource
|
|
@@ -2695,10 +2719,10 @@ commands:
|
|
|
2695
2719
|
- "tigris iam policies list-keys arn:aws:iam::org_id:policy/my-policy"
|
|
2696
2720
|
- "tigris iam policies list-keys"
|
|
2697
2721
|
messages:
|
|
2698
|
-
onStart:
|
|
2699
|
-
onSuccess:
|
|
2700
|
-
onFailure:
|
|
2701
|
-
onEmpty:
|
|
2722
|
+
onStart: ""
|
|
2723
|
+
onSuccess: ""
|
|
2724
|
+
onFailure: "Failed to list access keys for policy"
|
|
2725
|
+
onEmpty: "No access keys attached to this policy"
|
|
2702
2726
|
arguments:
|
|
2703
2727
|
- name: resource
|
|
2704
2728
|
description: Policy ARN. If omitted, shows interactive selection
|
|
@@ -2726,10 +2750,10 @@ commands:
|
|
|
2726
2750
|
- "tigris iam users list"
|
|
2727
2751
|
- "tigris iam users list --format json"
|
|
2728
2752
|
messages:
|
|
2729
|
-
onStart:
|
|
2730
|
-
onSuccess:
|
|
2731
|
-
onFailure:
|
|
2732
|
-
onEmpty:
|
|
2753
|
+
onStart: ""
|
|
2754
|
+
onSuccess: ""
|
|
2755
|
+
onFailure: "Failed to list users"
|
|
2756
|
+
onEmpty: "No users found in this organization"
|
|
2733
2757
|
arguments:
|
|
2734
2758
|
- name: format
|
|
2735
2759
|
description: Output format
|
|
@@ -2743,9 +2767,9 @@ commands:
|
|
|
2743
2767
|
- "tigris iam users invite user@example.com --role admin"
|
|
2744
2768
|
- "tigris iam users invite user1@example.com,user2@example.com"
|
|
2745
2769
|
messages:
|
|
2746
|
-
onStart:
|
|
2770
|
+
onStart: "Sending invitation..."
|
|
2747
2771
|
onSuccess: "Invitation sent to '{{email}}'"
|
|
2748
|
-
onFailure:
|
|
2772
|
+
onFailure: "Failed to send invitation"
|
|
2749
2773
|
arguments:
|
|
2750
2774
|
- name: email
|
|
2751
2775
|
description: Email address(es) to invite (comma-separated for multiple)
|
|
@@ -2769,10 +2793,10 @@ commands:
|
|
|
2769
2793
|
- "tigris iam users revoke-invitation invitation_id --yes"
|
|
2770
2794
|
- "tigris iam users revoke-invitation id1,id2,id3 --yes"
|
|
2771
2795
|
messages:
|
|
2772
|
-
onStart:
|
|
2796
|
+
onStart: "Revoking invitation..."
|
|
2773
2797
|
onSuccess: "Invitation(s) revoked"
|
|
2774
|
-
onFailure:
|
|
2775
|
-
onEmpty:
|
|
2798
|
+
onFailure: "Failed to revoke invitation"
|
|
2799
|
+
onEmpty: "No pending invitations found"
|
|
2776
2800
|
arguments:
|
|
2777
2801
|
- *yes_argument
|
|
2778
2802
|
- name: resource
|
|
@@ -2794,10 +2818,10 @@ commands:
|
|
|
2794
2818
|
- "tigris iam users update-role id1,id2 --role admin"
|
|
2795
2819
|
- "tigris iam users update-role id1,id2 --role admin,member"
|
|
2796
2820
|
messages:
|
|
2797
|
-
onStart:
|
|
2821
|
+
onStart: "Updating user role..."
|
|
2798
2822
|
onSuccess: "Role updated"
|
|
2799
|
-
onFailure:
|
|
2800
|
-
onEmpty:
|
|
2823
|
+
onFailure: "Failed to update user role"
|
|
2824
|
+
onEmpty: "No users found in this organization"
|
|
2801
2825
|
arguments:
|
|
2802
2826
|
- name: resource
|
|
2803
2827
|
description: User ID(s) (comma-separated for multiple). If omitted, shows interactive selection
|
|
@@ -2821,10 +2845,10 @@ commands:
|
|
|
2821
2845
|
- "tigris iam users remove user@example.com --yes"
|
|
2822
2846
|
- "tigris iam users remove user@example.com,user@example.net --yes"
|
|
2823
2847
|
messages:
|
|
2824
|
-
onStart:
|
|
2848
|
+
onStart: "Removing user..."
|
|
2825
2849
|
onSuccess: "User(s) removed"
|
|
2826
|
-
onFailure:
|
|
2827
|
-
onEmpty:
|
|
2850
|
+
onFailure: "Failed to remove user"
|
|
2851
|
+
onEmpty: "No users found in this organization"
|
|
2828
2852
|
arguments:
|
|
2829
2853
|
- *yes_argument
|
|
2830
2854
|
- name: resource
|
|
@@ -2851,10 +2875,10 @@ commands:
|
|
|
2851
2875
|
- "tigris iam teams list"
|
|
2852
2876
|
- "tigris iam teams list --format json"
|
|
2853
2877
|
messages:
|
|
2854
|
-
onStart:
|
|
2855
|
-
onSuccess:
|
|
2856
|
-
onFailure:
|
|
2857
|
-
onEmpty:
|
|
2878
|
+
onStart: ""
|
|
2879
|
+
onSuccess: ""
|
|
2880
|
+
onFailure: "Failed to list teams"
|
|
2881
|
+
onEmpty: "No teams found in this organization"
|
|
2858
2882
|
arguments:
|
|
2859
2883
|
- name: format
|
|
2860
2884
|
description: Output format
|
|
@@ -2868,9 +2892,9 @@ commands:
|
|
|
2868
2892
|
- "tigris iam teams create engineering --description 'Engineering team'"
|
|
2869
2893
|
- "tigris iam teams create engineering --members a@example.com,b@example.com"
|
|
2870
2894
|
messages:
|
|
2871
|
-
onStart:
|
|
2895
|
+
onStart: "Creating team..."
|
|
2872
2896
|
onSuccess: "Team '{{name}}' created"
|
|
2873
|
-
onFailure:
|
|
2897
|
+
onFailure: "Failed to create team"
|
|
2874
2898
|
arguments:
|
|
2875
2899
|
- name: name
|
|
2876
2900
|
description: Name of the team
|
|
@@ -2894,9 +2918,9 @@ commands:
|
|
|
2894
2918
|
- "tigris iam teams edit team_id --description 'Platform team'"
|
|
2895
2919
|
- "tigris iam teams edit team_id --members a@example.com,b@example.com"
|
|
2896
2920
|
messages:
|
|
2897
|
-
onStart:
|
|
2921
|
+
onStart: "Updating team..."
|
|
2898
2922
|
onSuccess: "Team updated"
|
|
2899
|
-
onFailure:
|
|
2923
|
+
onFailure: "Failed to update team"
|
|
2900
2924
|
arguments:
|
|
2901
2925
|
- name: id
|
|
2902
2926
|
description: ID of the team to edit
|