s3policy icon indicating copy to clipboard operation
s3policy copied to clipboard

make key optional on read policy

Open deschaefer opened this issue 11 years ago • 1 comments

By making the key an optional parameter of readPolicy, we can readPolicy for a bucket too. Very useful to me..

deschaefer avatar Aug 09 '13 01:08 deschaefer

Has this worked for you? My understanding of it is that you must specify a complete URL which is then signed. If the URL is variable so you can access anything within the bucket, I don't see how the signature could be validated. I honestly don't have an environment setup where I can test this easily, so if you say it is working for you I'll go ahead and merge it. Thanks.

arbitrarytech avatar Aug 09 '13 02:08 arbitrarytech