This section describes how to enable the object protocol for a namespace and manage the bucket permissions of a namespace for which the object protocol has been enabled.
Prerequisites
- The object service has been enabled in the system and uses POE authentication instead of IAM authentication.
- The access key of an account is in Activated status.
Procedure
- Choose Resources > Resources > Namespace.
- Select a desired account from the Account drop-down list in the upper left corner.
- Click More on the right of a desired namespace and select Manage Object Protocol.
- If the object protocol is not enabled for the namespace, the Enable Object Protocol page is displayed.
- You can also click the name of the namespace, choose Protocol > Object, and click Enable Object Protocol.
- If different accounts have namespaces with the same name, the object protocol can be enabled for only one namespace in the same cluster.
- If the object protocol is enabled for the namespace, the Manage Permission page is displayed.
- Set bucket permissions. Possible options are Private, Public Read, and Public Read and Write.
- Private
The owner of the bucket (the account that creates the bucket) has full control of the bucket. Other users cannot access the bucket without authorization.
- Public Read
All users can read objects in the bucket, and only the owner of the bucket (the account that creates the bucket) has the write permission.
- Public Read and Write
All users can read, write, and delete objects written by the owner of the bucket (the account that creates the bucket). Unauthorized users cannot read objects written by other accounts but can write or delete objects.
For data security, you are advised to select Private.
- Click OK.