检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Error cause: The loading on the OBS Browser+ bucket details page invokes some other OBS APIs. However, such operations are not allowed by the read and write permissions. Therefore, a message "Access denied.
Restrictions To list PFSs, you must have the obs:bucket:ListAllMyBuckets permission. IAM is recommended for granting permissions. For details, see IAM Custom Policies. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
The following table lists APIs related to server-side encryption: Method in OBS Node.js SDK Description Supported Encryption Type ObsClient.putObject Sets the encryption algorithm and key during object upload to enable server-side encryption.
Before You Start Ensure that you are familiar with OBS basic concepts, such as buckets, objects, and access keys (AK and SK). You can see General Examples of OBSClient to understand how to call OBS iOS SDK APIs in a general manner. Parent topic: Quick Start
Missing Modules (SDK for Node.js) Problem: When OBS Node.js SDK is used for secondary development, an error message was displayed indicating that a module was missing, for example, "Cannot find module 'xml2js'".
NOTE: The IAM user who uses obsfs to mount and access a parallel file system must have the same access permissions for OBS buckets. After an OBS role or policy is granted to an IAM user, the role or policy will apply to both OBS buckets and parallel file systems.
Getting Started (SDK for Java) This section introduces how to use OBS SDK for Java to perform some basic actions, such as creating a bucket, and uploading, downloading, listing, and deleting objects.
If there is not a default master key, OBS will create one and use it.
Slimming Images You can edit code on OBS Console or make an API call to slim images. Slimming is a simplified image compression, which generates images with an absolute quality of 75%. You do not need to configure any parameter. You can slim images just by running a command.
Log Analysis Log Configuration OBS PHP SDK provides the logging function based on the monolog log library. You can call ObsClient->initLog to enable and configure logging. Sample code is as follows: $obsClient -> initLog ([ 'FilePath' => '.
It is used for the OBS server to verify data integrity.
Slimming Images You can edit code on OBS Console or make an API call to slim images. Slimming is a simplified image compression, which generates images with an absolute quality of 75%. You do not need to configure any parameter. You can slim images just by running a command.
OBS replaces the value of KeyPrefixEquals with the value you specified here for ReplaceKeyPrefixWith.
Code string Explanation: Error code returned by the OBS server. Message string Explanation: Error description returned by the OBS server. HostId string Explanation: Request server ID returned by the OBS server. RequestId string Explanation: Request ID returned by the OBS server.
In this way, local data can be migrated to OBS periodically and automatically. Figure 1 Migrating data to OBS using CDM Create an OBS bucket. Create a bucket on OBS Console or OBS Browser+ for storing data. Purchase CDM. Create a CDM cluster to manage links and jobs.
In OBS, objects are basic data units that users can perform operations on.
In OBS, objects are basic data units that users can perform operations on.
Adaptive Orientation You can use the GUI or code mode on OBS Console or make an API call to use adaptive orientation. Images shot by cameras or smartphones may contain EXIF Data, like an orientation parameter.
In OBS, objects are basic data units that users can perform operations on.
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.