s3policy
s3policy copied to clipboard
make key optional on read policy
By making the key an optional parameter of readPolicy, we can readPolicy for a bucket too. Very useful to me..
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.