• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. Developer Guide (Android SDK)
  4. Temporary Authentication
  5. What Is a Temporarily Authorized Request

What Is a Temporarily Authorized Request

A temporarily authorized request is a URL temporarily authorized by specifying the AK/SK, request method, and related parameters. This URL contains authentication information and therefore you can use this URL to perform the specific operation in OBS. When the URL is being generated, you need to specify the validity period for it.

The following table describes operations allowed for temporarily authorized requests.

Operation

HTTP Request Method (Value in OBS Android SDK)

Special Operator (Value in OBS Android SDK)

Bucket Name Required

Object Name Required

PUT Bucket

HttpMethodEnum.PUT

N/A

Yes

No

GET Buckets

HttpMethodEnum.GET

N/A

No

No

DELETE Bucket

HttpMethodEnum.DELETE

N/A

Yes

No

GET Objects

HttpMethodEnum.GET

N/A

Yes

No

GET Object versions

HttpMethodEnum.GET

SpecialParamEnum.VERSIONS

Yes

No

List Multipart uploads

HttpMethodEnum.GET

SpecialParamEnum.UPLOADS

Yes

No

Obtain Bucket Metadata

HttpMethodEnum.HEAD

N/A

Yes

No

GET Bucket location

HttpMethodEnum.GET

SpecialParamEnum.LOCATION

Yes

No

GET Bucket storageinfo

HttpMethodEnum.GET

SpecialParamEnum.STORAGEINFO

Yes

No

PUT Bucket quota

HttpMethodEnum.PUT

SpecialParamEnum.QUOTA

Yes

No

GET Bucket quota

HttpMethodEnum.GET

SpecialParamEnum.QUOTA

Yes

No

Set Bucket storagePolicy

HttpMethodEnum.PUT

SpecialParamEnum.STORAGEPOLICY

Yes

No

GET Bucket storagePolicy

HttpMethodEnum.GET

SpecialParamEnum.STORAGEPOLICY

Yes

No

PUT Bucket acl

HttpMethodEnum.PUT

SpecialParamEnum.ACL

Yes

No

GET Bucket acl

HttpMethodEnum.GET

SpecialParamEnum.ACL

Yes

No

PUT Bucket logging

HttpMethodEnum.PUT

SpecialParamEnum.LOGGING

Yes

No

GET Bucket logging

HttpMethodEnum.GET

SpecialParamEnum.LOGGING

Yes

No

PUT Bucket policy

HttpMethodEnum.PUT

SpecialParamEnum.POLICY

Yes

No

GET Bucket policy

HttpMethodEnum.GET

SpecialParamEnum.POLICY

Yes

No

DELETE Bucket policy

HttpMethodEnum.DELETE

SpecialParamEnum.POLICY

Yes

No

PUT Bucket lifecycle

HttpMethodEnum.PUT

SpecialParamEnum.LIFECYCLE

Yes

No

GET Bucket lifecycle

HttpMethodEnum.GET

SpecialParamEnum.LIFECYCLE

Yes

No

DELETE Bucket lifecycle

HttpMethodEnum.DELETE

SpecialParamEnum.LIFECYCLE

Yes

No

PUT Bucket website

HttpMethodEnum.PUT

SpecialParamEnum.WEBSITE

Yes

No

GET Bucket website

HttpMethodEnum.GET

SpecialParamEnum.WEBSITE

Yes

No

DELETE Bucket website

HttpMethodEnum.DELETE

SpecialParamEnum.WEBSITE

Yes

No

PUT Bucket versioning

HttpMethodEnum.PUT

SpecialParamEnum.VERSIONING

Yes

No

GET Bucket versioning

HttpMethodEnum.GET

SpecialParamEnum.VERSIONING

Yes

No

PUT Bucket cors

HttpMethodEnum.PUT

SpecialParamEnum.CORS

Yes

No

GET Bucket cors

HttpMethodEnum.GET

SpecialParamEnum.CORS

Yes

No

DELETE Bucket cors

HttpMethodEnum.DELETE

SpecialParamEnum.CORS

Yes

No

PUT Bucket notification

HttpMethodEnum.PUT

SpecialParamEnum.NOTIFICATION

Yes

No

GET Bucket notification

HttpMethodEnum.GET

SpecialParamEnum.NOTIFICATION

Yes

No

OPTIONS Bucket

HttpMethodEnum.OPTIONS

N/A

Yes

No

PUT Bucket tagging

HttpMethodEnum.PUT

SpecialParamEnum.TAGGING

Yes

No

GET Bucket tagging

HttpMethodEnum.GET

SpecialParamEnum.TAGGING

Yes

No

DELETE Bucket tagging

HttpMethodEnum.DELETE

SpecialParamEnum.TAGGING

Yes

No

PUT Object

HttpMethodEnum.PUT

N/A

Yes

Yes

GET Object

HttpMethodEnum.GET

N/A

Yes

Yes

PUT Object - Copy

HttpMethodEnum.PUT

N/A

Yes

Yes

DELETE Object

HttpMethodEnum.DELETE

N/A

Yes

Yes

DELETE Objects

HttpMethodEnum.POST

SpecialParamEnum.DELETE

Yes

Yes

Obtain Object Metadata

HttpMethodEnum.HEAD

N/A

Yes

Yes

PUT Object acl

HttpMethodEnum.PUT

SpecialParamEnum.ACL

Yes

Yes

GET Object acl

HttpMethodEnum.GET

SpecialParamEnum.ACL

Yes

Yes

Initiate Multipart Upload

HttpMethodEnum.POST

SpecialParamEnum.UPLOADS

Yes

Yes

PUT Part

HttpMethodEnum.PUT

N/A

Yes

Yes

PUT Part - Copy

HttpMethodEnum.PUT

N/A

Yes

Yes

List Parts

HttpMethodEnum.GET

N/A

Yes

Yes

Complete Multipart Upload

HttpMethodEnum.POST

N/A

Yes

Yes

DELETE Multipart upload

HttpMethodEnum.DELETE

N/A

Yes

Yes

OPTIONS Object

HttpMethodEnum.OPTIONS

N/A

Yes

Yes

POST Object restore

HttpMethodEnum.POST

SpecialParamEnum.RESTORE

Yes

Yes