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
199009dd64
Clarified pytest --integration
2022-01-17 11:42:51 -08:00
Simon Willison
75ce3b2c28
Removed the warning
...
Thanks to this project and conversations around it I'm feeling much more confident than I was when I added this.
2022-01-16 12:17:40 -08:00
Simon Willison
5e5e3893cd
Configure Dependabot
...
https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2022-01-14 16:28:51 -08:00
Simon Willison
c7717702cd
Also test against Python 3.10
2021-12-09 14:46:49 -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
f5bc18d4ef
Link to permission boundary policies, closes #40
2021-12-06 23:03:39 -08:00
Simon Willison
081778d6aa
Release 0.8
...
Refs #42 , #43 , #44
2021-12-06 22:56:47 -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
2a8fae5b22
Documentation for put-object --content-type, refs #43
2021-12-06 19:15:03 -08:00
Simon Willison
ab44ce6e76
put-object now sends content-type, refs #43
2021-12-06 19:12:40 -08:00
Simon Willison
75ad983a36
Release 0.7
...
Refs #36 , #37 , #38
2021-11-30 11:47:06 -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
41f33d507c
Policy examples in README using Cog, refs #36
2021-11-29 18:16:27 -08:00
Simon Willison
9052583798
s3-credentials policy command, closes #37
2021-11-29 18:06:04 -08:00
Simon Willison
5c6810b351
Small README tweaks
2021-11-18 12:49:52 -08:00
Simon Willison
8d3ee0921a
Release 0.6
...
Refs #33 , #34 , #35
2021-11-18 12:29:34 -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
600a01f2e7
whoami --auth tip, refs #33
2021-11-18 09:53:56 -08:00
Simon Willison
03417d9a24
whoami uses sts.get-caller-identity, closes #33
2021-11-18 08:53:20 -08:00
Matthias Kestenholz
6813b72bc7
Fix a typo ( #34 )
2021-11-17 22:00:52 -08:00
Simon Willison
794e4402af
Release 0.5
...
Refs #15 , #16 , #17 , #22 , #27 , #30
2021-11-10 19:40:30 -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
56cede90cc
Documentation for new --duration option, closes #31 , ref #27
2021-11-10 19:16:05 -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
f70e76c37b
Documentation for --integration tests, refs #30
2021-11-10 18:04:14 -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
22528013a3
Refactored write-only policies, refs #25
2021-11-10 10:39:38 -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
Simon Willison
b991614ba5
Added S3 web interface tip
2021-11-08 14:16:10 -08:00
Simon Willison
2613969def
Added tip about Cloud Trail
2021-11-08 14:03:15 -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
b861f4a1b6
Release 0.4
...
Refs #2 , #11 , #14
2021-11-03 21:59:53 -07: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
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
cad8a87e38
Release 0.3
...
Refs #10
2021-11-02 22:19:23 -07:00