Simon Willison
481ed19033
Upgrade moto, refs #90
2024-04-04 22:20:19 -07:00
Simon Willison
1628856634
--public fixed tests, refs #88
2024-04-04 22:09:03 -07:00
Simon Willison
b698fa03da
delete-objects command
...
Closes #83
2023-04-30 15:07:19 -07:00
Simon Willison
ad9b4a4a6f
Fix for ordering bug in tests, refs #85
2023-04-30 14:28:47 -07:00
Simon Willison
c7bb7268c4
s3-credentials put-objects command, closes #68
2022-09-15 16:38:53 -07:00
Simon Willison
1a2325e33b
Initial get-objects command, refs #78
2022-09-15 10:08:10 -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
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
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
d608d482df
Integration test for --prefix= --write-only, closes #54
2022-01-17 18:00:04 -08:00
Simon Willison
e723c4d97c
Integration test for --prefix --read-only
...
Plus added that and --writ-only examples to README
Refs #54
2022-01-17 17:54:10 -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
e8106907b4
Test for list-bucket, refs #28
2022-01-17 14:13:23 -08:00
Simon Willison
022abdfa5b
Removed unused fixture
2022-01-17 14:10:15 -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
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
46b6531e45
put-object and get-object commands, closes #38
2021-11-30 11:46:27 -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
c75d418e2e
Don't stringify, parameter order broken on Python 3.7
2021-11-10 19:33:32 -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
98b2a40b33
Initial integration test, refs #30
...
Run with pytest --integration
2021-11-10 17:59:01 -08:00
Simon Willison
f7989bce2d
--auth option, closes #29
2021-11-10 14:16:42 -08:00
Simon Willison
b68e70743e
New read-write policy, closes #24 , refs #15
2021-11-10 10:55:11 -08:00
Simon Willison
447917b237
Add GetBucketLocation to read-only policy
...
Refs #24 , closes #23
2021-11-10 10:44:48 -08:00
Simon Willison
c6d8766d1d
Redesigned read only policy, closes #23 , refs #15
2021-11-09 21:15:11 -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
6d0b5da65d
Use stub_s3 for list-buckets test, refs #13
2021-11-08 15:32:42 -08:00
Niko Abeler
470177f00d
Use botocore.stub.Stubber to mock AWS
...
Closes #13 - thanks, @H4kor
2021-11-07 14:56:22 -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
0531b026d0
Removed unnecessary Sid, refs #11
2021-11-03 12:07:40 -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
693179d74a
Fix for unspecified parameter order, closes #8
2021-11-02 19:17:02 -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