title: Pre-signed url for the whole bucket
body: <p>I am using gsutil to create pre-signed URLs for upload. When naming the object in the bucket, I can successfully upload. The following snipit from gsutil works fine with a curl PUT:</p>
  
  <pre><code>gsutil signurl -m PUT -d 10m -r eu ~/.ssh/mycreds.json gs://cjreyn-bucket-0/myobjectname.txt
  </code></pre>
  
  <p>However, when specifying just the bucket name, instead of an object within it, uploading an arbitrary object doesn't work:</p>
  
  <pre><code>gsutil signurl -m PUT -d 10m -r eu ~/.ssh/mycreds.json gs://cjreyn-bucket-0/
  </code></pre>
  
  <p>This returns the follwing from curl:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;Error&gt;&lt;Code&gt;BucketAlreadyOwnedByYou&lt;/Code&gt;&lt;Message&gt;Your previous request to create the named bucket succeeded and you already own it.&lt;/Message&gt;&lt;/Error&gt;
  </code></pre>
  
  <p>My curl line is as follows (signed URL replaced with  for brevity):</p>
  
  <pre><code>curl -X PUT --upload-file myobj.txt "&lt;mysignedurl&gt;"
  </code></pre>
  
  <p>Is it even possible to create signed URLs for upload and download to/from the <em>whole</em> bucket, rather than for each object within it?</p>