diff --git a/doc/source/obs/index.rst b/doc/source/obs/index.rst deleted file mode 100644 index 8ec4f3d5..00000000 --- a/doc/source/obs/index.rst +++ /dev/null @@ -1,12 +0,0 @@ -====================== -Object Storage Service -====================== - - -.. toctree:: - :maxdepth: 2 - - - api-reference-(s3)/index - api-reference-(swift)/index - user-guide/index \ No newline at end of file diff --git a/doc/source/obs/user-guide/access-keys-(ak-sk).md b/doc/source/obs/user-guide/access-keys-(ak-sk).md index 0024ba68..bae28bcc 100644 --- a/doc/source/obs/user-guide/access-keys-(ak-sk).md +++ b/doc/source/obs/user-guide/access-keys-(ak-sk).md @@ -13,7 +13,7 @@ You can create a pair of permanent AK and SK on the **My Credentials** page. **Temporary AK/SK Pair** -Temporary AK/SK and security token are temporary access tokens issued by the system to users. The validity period is between 15 minutes and 24 hours. Temporary AK/SK and security token comply with the least privilege principle and can be used to access OBS temporarily. Error code 403 is returned if an access request does not have the security token. +A temporary AK/SK pair and the security token are temporary access tokens granted by the system to users. The validity period of the tokens ranges from 15 minutes to 24 hours. After the tokens expire, you need to obtain the tokens again. A temporary AK/SK pair and the security token comply with the least privilege principle and can only be used to temporarily access OBS. A 403 error will be returned if the security token is not available. - Temporary AK: indicates the ID of a temporary access key. It is the unique ID associated with the SK. The AK and SK are used together to obtain an encrypted signature for a request. - Temporary SK: indicates the temporary private key used together with its associated temporary AK. The AK and SK are used together to identify a request sender to prevent the request from being modified. diff --git a/doc/source/obs/user-guide/accessing-an-object-using-its-object-url.md b/doc/source/obs/user-guide/accessing-an-object-using-its-object-url.md index 8b14d58e..3d06f741 100644 --- a/doc/source/obs/user-guide/accessing-an-object-using-its-object-url.md +++ b/doc/source/obs/user-guide/accessing-an-object-using-its-object-url.md @@ -4,7 +4,7 @@ The object uniform resource locator \(URL\) \(object sharing\) function allows a ## Prerequisites -An anonymous user has been assigned with the permission to read the specified object. For details, see [Authorizing Access Permissions to Anonymous Users](authorizing-access-permissions-to-anonymous-users.md). +An anonymous user has been assigned with the permission to read the specified object. For details, see [Configuring an Object ACL](configuring-an-object-acl.md). ## Procedure @@ -18,9 +18,9 @@ An anonymous user has been assigned with the permission to read the specified ob - If you select **Other object storage services** when logging in to OBS Browser, the object URL is in the format of https://_storage server IP address_ or _domain name_/_bucket name_/_directory level_/_object name_. If the object is in the root directory of the bucket, the URL does not contain a _directory level_. - If you select **OBS** when logging in to OBS Browser, the object URL is in the format of https://_bucket name.domain name_/_directory level_/_object name._ If the object is in the root directory of the bucket, the URL does not contain a _directory level_. - > **NOTE:** - >To allow anonymous users to access objects stored in a bucket of Cold storage class using the URL, ensure that the objects are in the **Restored** state. - >The method of using a browser to access objects varies depending on the object type. You can directly open **.txt** and **.html** files using a browser. However, when you open **.exe** and **.dat** files using a browser, the files are automatically downloaded to your local computer. + > **NOTE:** + >To allow anonymous users to access objects stored in a bucket of Cold storage class using the URL, ensure that the objects are in the **Restored** state. + >The method of using a browser to access objects varies depending on the object type. You can directly open **.txt** and **.html** files using a browser. However, when you open **.exe** and **.dat** files using a browser, the files are automatically downloaded to your local computer. 4. Click **Copy** to copy the URL of the object. 5. In the displayed dialog box, click **Close** to close the dialog box. diff --git a/doc/source/obs/user-guide/accessing-an-object-using-its-url.md b/doc/source/obs/user-guide/accessing-an-object-using-its-url.md index 0691aee9..a7c07890 100644 --- a/doc/source/obs/user-guide/accessing-an-object-using-its-url.md +++ b/doc/source/obs/user-guide/accessing-an-object-using-its-url.md @@ -4,14 +4,14 @@ If you set the permission for an object to allow anonymous users to read it, ano ## Prerequisites -A read permission has been set for anonymous users. For details about how to set the permission, see [Authorizing Access Permissions to Anonymous Users](authorizing-access-permissions-to-anonymous-users.md). +A read permission has been set for anonymous users. For details about how to enable the permission, see [Authorizing Access Permissions to Anonymous Users](authorizing-access-permissions-to-anonymous-users.md). -> **NOTE:** ->Encrypted objects cannot be shared. +> **NOTE:** +>Encrypted objects cannot be shared. ## Procedure -1. In the bucket list, click the bucket to be operated. The **Summary** page of the bucket is displayed. +1. In the bucket list, click the bucket to be operated. The **Overview** page of the bucket is displayed. 2. In the navigation pane on the left, click **Objects**. 3. Click the object to be shared. The object information is displayed on the top part of the page. The **Link** displays the shared link of the object. For details, see [Figure 1](#fig36534596192426). @@ -20,8 +20,8 @@ A read permission has been set for anonymous users. For details about how to set **Figure 1** Object link  - > **NOTE:** - >- To allow anonymous users to access objects whose storage classes are **Cold** using the URL, ensure that the objects are in the **Restored** state. - >- The method of using a browser to access objects varies depending on the object type. You can directly open **.txt** and **.html** files using a browser. However, when you open **.exe** and **.dat** files using a browser, the files are automatically downloaded to your local computer. + > **NOTE:** + >- To allow anonymous users to access objects whose storage classes are **Cold** using the URL, ensure that the objects are in the **Restored** state. + >- The method of using a browser to access objects varies depending on the object type. You can directly open **.txt** and **.html** files using a browser. However, when you open **.exe** and **.dat** files using a browser, the files are automatically downloaded to your local computer. diff --git a/doc/source/obs/user-guide/adding-a-bucket-(getting-started).md b/doc/source/obs/user-guide/adding-a-bucket-(getting-started).md index b6621cc9..480ed523 100644 --- a/doc/source/obs/user-guide/adding-a-bucket-(getting-started).md +++ b/doc/source/obs/user-guide/adding-a-bucket-(getting-started).md @@ -2,8 +2,8 @@ A bucket is a container that stores objects in OBS. Before you store data in OBS, you need to create a bucket first. -> **NOTE:** ->On OBS Console, an account can have 100 buckets. +> **NOTE:** +>On OBS Console, an account can have 100 buckets. There is no such upper limit if you use the API or other methods to create buckets. However, these buckets also take up the bucket quota on OBS Console. ## Procedure diff --git a/doc/source/obs/user-guide/adding-a-bucket.md b/doc/source/obs/user-guide/adding-a-bucket.md index b88d5cd6..cf8cf545 100644 --- a/doc/source/obs/user-guide/adding-a-bucket.md +++ b/doc/source/obs/user-guide/adding-a-bucket.md @@ -2,8 +2,8 @@ Buckets are containers that store objects in OBS. Before you store data in OBS, you need to create buckets. -> **NOTE:** ->On OBS Console, an account can have 100 buckets. +> **NOTE:** +>On OBS Console, an account can have 100 buckets. There is no such upper limit if you use the API or other methods to create buckets. However, these buckets also take up the bucket quota on OBS Console. ## Procedure @@ -49,10 +49,10 @@ Buckets are containers that store objects in OBS. Before you store data in OBS, - > **NOTE:** - >- When a URL is used to access a bucket, the bucket name will become a part of the URL. According to the DNS rule, URLs do not support uppercase letters and cannot be used to access a bucket whose name contains uppercase letters. Therefore, a bucket name can contain only lowercase letters, digits, hyphens \(-\), and periods \(.\) For example, if you attempt to access bucket **MyBucket** using the URL, bucket **mybucket** will be accessed instead, causing an access error. - >- DNS naming can standardize the bucket naming globally, facilitating the resolution when accessing a bucket. Users can benefit from new functions and optimized features, and static website hosting is then applicable to buckets. - >- Once you create a bucket, you cannot change the name of it. Make sure that the bucket name you set is appropriate. + > **NOTE:** + >- When a URL is used to access a bucket, the bucket name will become a part of the URL. According to the DNS rule, URLs do not support uppercase letters and cannot be used to access a bucket whose name contains uppercase letters. Therefore, a bucket name can contain only lowercase letters, digits, hyphens \(-\), and periods \(.\) For example, if you attempt to access bucket **MyBucket** using the URL, bucket **mybucket** will be accessed instead, causing an access error. + >- DNS naming can standardize the bucket naming globally, facilitating the resolution when accessing a bucket. Users can benefit from new functions and optimized features, and static website hosting is then applicable to buckets. + >- Once you create a bucket, you cannot change the name of it. Make sure that the bucket name you set is appropriate. 4. Click **OK**. 5. In the displayed dialog box, click **Close** to close the dialog box. @@ -87,9 +87,9 @@ You can specify its storage class when creating a bucket or change its storage c 2. Select a bucket from the bucket list and click  on the right. The **Change Storage Class** dialog box is displayed. 3. Select the desired storage class and click **OK**. - > **NOTE:** - >- Changing the storage class of a bucket does not change the storage class of existing objects in the bucket. - >- When uploading an object, you can select a storage class for the object, which is the same as the bucket storage class by default. If the bucket storage class changes, the default object storage class changes accordingly. + > **NOTE:** + >- Changing the storage class of a bucket does not change the storage class of existing objects in the bucket. + >- An object inherits the bucket storage class by default, if no other storage class is specified for the object upon its upload. When the bucket storage class is changed, newly uploaded objects inherit the new bucket storage class by default. 4. In the displayed dialog box, click **Close** to close the dialog box. diff --git a/doc/source/obs/user-guide/adding-external-buckets.md b/doc/source/obs/user-guide/adding-external-buckets.md index 7f438f95..a228d41d 100644 --- a/doc/source/obs/user-guide/adding-external-buckets.md +++ b/doc/source/obs/user-guide/adding-external-buckets.md @@ -8,9 +8,9 @@ You have obtained the permissions to read and write the external bucket that you For example: Account **A** wants to add bucket **testbucket** of account **B**. Account **B** must authorize account **A** the permission to read bucket **testbucket**. If account **A** needs to upload object to bucket **testbucket**, account **B** needs to authorize account **A** the permission to write the bucket. Account **A** is the owner of the uploaded objects, and needs to authorize account **B** the permission to read and write the objects. -> **NOTE:** ->An external bucket \(version 3.0 or later\) can be added only when its standard bucket policy is set to **Public Read and Write**. ->If the standard bucket policy of an external bucket is set to **Public Read and Write** upon its creation, you need to manually change the standard bucket policy to **Private** and then change it back to **Public Read and Write** again, so that it can be added. +> **NOTE:** +>An external bucket \(version 3.0 or later\) can be added only when its standard bucket policy is set to **Public Read and Write**. +>If the standard bucket policy of an external bucket is set to **Public Read and Write** upon its creation, you need to manually change the standard bucket policy to **Private** and then change it back to **Public Read and Write** again, so that it can be added. ## Procedure diff --git a/doc/source/obs/user-guide/application-example-1-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md b/doc/source/obs/user-guide/application-example-1-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md index 3c42a778..fb867bbe 100644 --- a/doc/source/obs/user-guide/application-example-1-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md +++ b/doc/source/obs/user-guide/application-example-1-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md @@ -43,14 +43,14 @@ A bucket ACL can be used to grant the read and write access to a bucket. If only ## Procedure 1. Log in to OBS Console. -2. In the bucket list, click the bucket to be operated. The **Summary** page of the bucket is displayed. +2. In the bucket list, click the bucket to be operated. The **Overview** page of the bucket is displayed. 3. In the navigation pane on the left, click **Permissions** to go to the permission management page. 4. Click **Bucket ACL**. The **Bucket ACL** page is displayed. 5. Click **Add**, enter the account ID of the user that will add the bucket to OBS Browser, and select the read and write access to the bucket. - > **NOTE:** - >If you want to authorize such access to all users, in the **Public Permissions** area, authorize the **Anonymous User** the read and write access to the bucket. - >**Account ID** corresponds to **Domain ID** on the **My Credential** page. + > **NOTE:** + >If you want to authorize such access to all users, in the **Public Permissions** area, authorize the **Anonymous User** the read and write access to the bucket. + >**Account ID** corresponds to **Domain ID** on the **My Credential** page. 6. Click **Save**. diff --git a/doc/source/obs/user-guide/application-example-3-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md b/doc/source/obs/user-guide/application-example-3-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md index 2f6788b4..a11b56c1 100644 --- a/doc/source/obs/user-guide/application-example-3-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md +++ b/doc/source/obs/user-guide/application-example-3-authorizing-access-permissions-required-for-adding-an-external-bucket-through.md @@ -65,12 +65,12 @@ If a custom bucket policy is used to authorize such permissions, the ListBucket,
If you select Other account, enter the account ID, which is the Domain ID on the My Credential page.
+If you select Other account, enter the account ID, which is the Domain ID on the My Credential page.
If you select Other account, enter the account ID, which is the Domain ID on the My Credential page.
+If you select Other account, enter the account ID, which is the Domain ID on the My Credential page.
Specifies the allowed header of cross-origin requests. This parameter is optional. Only CORS requests matching the allowed header are valid.
-You can enter multiple allowed headers (one per line) and each line can contain one wildcard character (*) at most. Spaces and special characters including &:< are not allowed.
+You can enter multiple allowed headers (one per line) and each line can contain one wildcard character (*) at most. Spaces and special characters including &:< are not allowed.
Mandatory; specifies the duration that your browser can cache CORS responses, expressed in seconds. The default value is 100.
+Mandatory. Specifies the duration that your browser can cache CORS responses, expressed in seconds. The default value is 100.
Object name prefix on which the redirection rule takes effect When a request is sent for accessing an object, the redirection rule takes effect if the object name prefix matches the value specified for this parameter.
+Object name prefix on which the redirection rule takes effect. When a request is sent for accessing an object, the redirection rule takes effect if the object name prefix matches the value specified for this parameter.
For example, to redirect the request for object ExamplePage.html, set the KeyPrefixEquals to ExamplePage.html.
Host name to which the redirection is pointed If this parameter is not specified, the request is redirected to the host from which the original request is initiated.
+Host name to which the redirection is pointed. If this parameter is not specified, the request is redirected to the host from which the original request is initiated.
HTTP status code returned to the redirection request The default value is 301, indicating that requests are permanently redirected to the location specified by Redirect. You can also set this parameter based on your service needs.
+HTTP status code returned to the redirection request. The default value is 301, indicating that requests are permanently redirected to the location specified by Redirect. You can also set this parameter based on your service needs.
| + | ++ | +
|---|---|
| + | +Geographic area where a bucket resides. For low network latency and quick resource access, select the nearest region. Once a bucket is created, the region cannot be changed. + |
+
| + | +Name of the bucket. The bucket name must be unique across all accounts and regions. Once a bucket is created, you cannot change its name. +An OBS bucket must be named according to the globally applied DNS naming rules as follows: +
|
+
| + | +Storage classes of a bucket. Different storage classes meet different requirements for storage performance and costs. +
For details, see Storage Classes Overview. + |
+
| + | +Controls read and write permissions for buckets. + + |
+
| + | +Tags are used to identify and classify buckets in OBS. Each tag is represented by a key-value pair. For more information, see Tag Overview. + |
+
+
+
| |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | A credential refers to the identity credential used for user system authentication. In this example, password is selected.
|
|
Permissions defined by a policy, including Effect and Action.
The valid values for Effect are Allow and Deny. System policies contain only Allow statements.
-Permissions of specific operations on resources . A policy can contain one or more permissions. The wildcard (*) is allowed to indicate all of the services, resource types, or operations depending on its location in the action.
+Permissions of specific operations on resources. A policy can contain one or more permissions. The wildcard (*) is allowed to indicate all of the services, resource types, or operations depending on its location in the action.
Operation permissions: Any operation on all cloud resources owned by the account.
+Operation permissions: any operation on all cloud resources owned by the account
Operation permissions: Read-only access permission to all cloud resources owned by the account
+Operation permissions: read-only access permission to all cloud resources owned by the account