All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Create a bucket

Last updated:2023-01-10 16:02:56

Before you upload objects to KS3, you must create a bucket to store these objects. You can configure various attributes for a bucket, including metadata such as the region and access permissions.

For more information about the API operation for creating a bucket, see PUT Bucket.

The bucket name must conform to the naming rules and be unique in KS3. After a bucket is created, the bucket name cannot be changed.

Naming rules

  • The name can contain only lowercase letters, digits, periods (.), and hyphens (-).
  • The name must start with a lowercase letter or digit.
  • The name can contain 3 to 63 characters in length.
  • The name cannot be in the IP address format, such as 192.168.0.1.
  • The name cannot start with kss.

Operation methods

Operation method Description
Console Web application, which is easy to use
SDK for Java Diversified and complete SDK demos in various languages
SDK for PHP Diversified and complete SDK demos in various languages
SDK for Python Diversified and complete SDK demos in various languages
SDK for Android Diversified and complete SDK demos in various languages
SDK for iOS Diversified and complete SDK demos in various languages
SDK for JavaScript Diversified and complete SDK demos in various languages
SDK for Node.js Diversified and complete SDK demos in various languages
SDK for C# Diversified and complete SDK demos in various languages
SDK for C/C++ Diversified and complete SDK demos in various languages
SDK for Go Diversified and complete SDK demos in various languages

Permission control

You can configure an access control list (ACL) for a bucket when you create the bucket, and modify the ACL after the bucket is created. If no ACL is configured for a bucket, the bucket is private by default. For more information, see ACL.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback