Wykres commitów

51 Commity (1628856634f66c58f4ec4d23a1cf176f6b51d0b0)

Autor SHA1 Wiadomość Data
Simon Willison 1628856634 --public fixed tests, refs #88 2024-04-04 22:09:03 -07:00
Simon Willison 6f46d5d97b Applied latest Black 2024-04-04 21:39:42 -07:00
Simon Willison dafad69e23 s3-credentials debug-bucket name, closes #86 2024-04-04 21:39:31 -07:00
Simon Willison b698fa03da
delete-objects command
Closes #83
2023-04-30 15:07:19 -07:00
Simon Willison c7bb7268c4 s3-credentials put-objects command, closes #68 2022-09-15 16:38:53 -07:00
Simon Willison 047020a289 get-objects progress bar, closes #78 2022-09-15 10:31:21 -07:00
Simon Willison 1a2325e33b Initial get-objects command, refs #78 2022-09-15 10:08:10 -07:00
Simon Willison 5305082629 Link to new documentation site, closes #71 2022-08-12 11:11:11 -07:00
Simon Willison 30e07d3e68 Fixed error when returning empty bucket, closes #76 2022-08-12 10:22:08 -07:00
Simon Willison 5a9814d396 s3-credentials create --website option, closes #21 2022-08-12 10:18:35 -07:00
Simon Willison e9c2fb7191 list-buckets --details now includes region and website URL, closes #77 2022-08-12 10:13:05 -07:00
Simon Willison 35d1c10a30 Set MaxSessionDuration 12h for s3-credentials.AmazonS3FullAccess, closes #75 2022-08-01 12:40:20 -07:00
Simon Willison 9926a98b16 --policy or --statement implies --user-permissions-boundary none, refs #74 2022-08-01 12:32:19 -07:00
Simon Willison 54f810acfc --statement option for create and policy commands, refs #72 2022-06-30 12:50:00 -07:00
Simon Willison 6b54a5def6
set-cors-policy and get-cors-policy commands (#69)
* set-cors-policy and get-cors-policy commands, refs #47
* help.md listing all help for commands, refs #67
* Tests for get-cors-policy and set-cors-policy, refs #47
* Documentation for set-cors-policy and get-cors-policy, closes #47
2022-05-01 15:31:39 -07:00
Simon Willison 24c3dd6382 Improved --help for remaining commands, closes #67 2022-05-01 14:50:32 -07:00
Simon Willison e74e35dd21 Examples in --help for several commands, refs #67 2022-05-01 14:36:29 -07:00
Simon Willison 5cbb86143b Example usage for s3-credentials put-object --help, refs #67 2022-04-13 17:41:02 -07:00
Simon Willison f4fa0a3ac5 Removed unnecessary condition, closes #66 2022-01-19 17:50:31 -08:00
Simon Willison 7fb4db1978
list-roles command
* list-roles command, closes #61
* Refactor list-roles to use paginate() from #63
* Tests for list-roles - a whole lot of mocks
* Documentation for list-roles
* Fixed JSON output in --csv and --tsv
2022-01-19 11:44:30 -08:00
Simon Willison fc1e06ca3f paginate() helper for AWS pagination, closes #63 2022-01-19 11:06:25 -08:00
Simon Willison 917d575c73 list-users/list-buckets --nl, --csv, --tsv - refs #48 2022-01-17 17:36:02 -08:00
Simon Willison cc10c7f2b5 --nl and --tsv and --csv for list-bucket, refs #48 2022-01-17 16:58:11 -08:00
Simon Willison fa091830e8 list-bucket now outputs indented JSON array, refs #48 2022-01-17 16:42:47 -08:00
Simon Willison aa690245e3 list-bucket --prefix option, closes #52
Still needs documentation which I will add in #28
2022-01-17 14:24:11 -08:00
Simon Willison 7303e5bae4
--prefix option for restricting to a specified path within a bucket
Closes #12.

* s3-credentials create --prefix option
* s3-credentials policy --prefix option
* Integration tests for --prefix both with and without --duration
2022-01-17 13:08:08 -08:00
Tom Dyson 3a65c99104
add leading space to report of bucket creation
`Created bucket:my-bucket-namein region: eu-west-1` -> `Created bucket: my-bucket-name in region: eu-west-1`
2021-12-09 14:45:25 -08:00
Simon Willison ea13a98a97 Test for --dry-run against --public, refs #42 2021-12-06 23:09:53 -08:00
Simon Willison 6e0a2c2029 --public option for creating public buckets, closes #42
Will help with buckets as websites in #21

Includes integration test cowerage for put-object content-type in #43
2021-12-06 22:54:47 -08:00
Simon Willison a2a642d616 s3-credentials policy --public-bucket option, closes #44 2021-12-06 19:25:36 -08:00
Simon Willison ab44ce6e76 put-object now sends content-type, refs #43 2021-12-06 19:12:40 -08:00
Simon Willison 46b6531e45 put-object and get-object commands, closes #38 2021-11-30 11:46:27 -08:00
Simon Willison 0cce643994 Applied Black 2021-11-30 11:36:43 -08:00
Simon Willison 9052583798 s3-credentials policy command, closes #37 2021-11-29 18:06:04 -08:00
Simon Willison 6d6e1e4c6e Include duration in --dry-run output, refs #35 2021-11-18 12:26:54 -08:00
Simon Willison 7749ad2e01 --dry-run option, closes #35 2021-11-18 12:24:43 -08:00
Simon Willison 03417d9a24 whoami uses sts.get-caller-identity, closes #33 2021-11-18 08:53:20 -08:00
Simon Willison f444ef1ba1 create --duration --format ini, closes #17 2021-11-10 19:29:37 -08:00
Simon Willison f6fd1633ef create --duration option using sts.assume_role(), closes #27
Also with new integration test, refs #30
2021-11-10 19:01:58 -08:00
Simon Willison f7989bce2d --auth option, closes #29 2021-11-10 14:16:42 -08:00
Simon Willison 6e56b1b3ec create --format ini option, refs #17 2021-11-08 17:06:02 -08:00
Simon Willison 8e207980a2 s3-credentials list-buckets --details option, closes #22 2021-11-08 16:01:32 -08:00
Simon Willison 86861a3649 Updated read_only policy to better match read_write, refs #11
Also fixed issue with custom --policy where the username and policy name
still contained read-write - they now contain custom instead. Closes #14

Found this while expanding the tests for the create command.
2021-11-03 12:35:45 -07:00
Simon Willison 41bcc8c510 Options --access-key, --secret-key, --session-token, --endpoint-url
Closes #2
2021-11-03 12:00:39 -07:00
Simon Willison 34d0350d28 --policy option for custom policy documents, closes #14
Refs #11
2021-11-03 11:38:51 -07:00
Simon Willison eec24e0866 s3-credentials delete-user command, closes #10 2021-11-02 22:17:02 -07:00
Simon Willison 6ee932ea80 s3-credentials list-buckets command, closes #9 2021-11-02 19:30:54 -07:00
Simon Willison a8e10fb148 list-user-policies command, closes #5 2021-11-02 19:07:15 -07:00
Simon Willison 1f0cc51142
s3-credentials create command
Closes #3. Also added a warning and request for security review, refs #7
2021-11-02 18:54:31 -07:00
Simon Willison 531965783c s3-credentials list-users command, closes #4 2021-11-02 15:22:39 -07:00