On Tue, Aug 15, 2017 at 01:17:36AM +0000, Paya, Ashkan wrote:
> How can I generate a signed URI for a blob, e.g., using
> BlobRequestSigner and then BlobBuilder, in order to put it in the
> other storage classes such as STANDARD_IA or REDUCED_LATENCY? I can
> use other options such as PutOptions in putBlob() method but I want to
> generate the URI instead.

S3BlobRequestSigner does not support vendor extensions.  Instead call
BlobStoreContext.utils().injector().getInstance(RequestAuthorizeSignature.class).signForTemporaryAccess
with an HttpRequest including your custom header.  It would be nice to
extend S3BlobRequestSigner with some of these options.

-- 
Andrew Gaul
http://gaul.org/

Reply via email to