All Products
Search
Document Center

Object Storage Service:lcb, lcb

Last Updated:Mar 20, 2026

Use lcb to list all OSS on CloudBox buckets in your Alibaba Cloud account.

Prerequisites

Before you begin, ensure that you have:

Command syntax

ossutil lcb [--sign-version <value>] [--region <value>] [--cloudbox-id <value>]

Parameters

ParameterDescriptionExample
--sign-versionSignature algorithm version. Must be set to v4.v4
--regionThe region supported by the OSS on CloudBox bucket.cn-hangzhou
--cloudbox-idThe ID of the OSS on CloudBox bucket.cb-f8z7yvzgwfkl9q0h****

Examples

List all OSS on CloudBox buckets

ossutil lcb --sign-version v4 --region cn-hangzhou --cloudbox-id cb-f8z7yvzgwfkl9q0h****

The output lists each CloudBox bucket as a numbered entry:

No             :0
Id             :cb-f8z7yvzgwfkl9q0h****
Name           :oss-cn-heyuan-cloudbox-a
Owner          :1************4
Region         :oss-cn-heyuan
ControlEndpoint:cb-f8z7yvzgwfkl9q0h****.cn-heyuan.oss-cloudbox-control.aliyuncs.com
DataEndpoint   :cb-f8z7yvzgwfkl9q0h****.cn-heyuan.oss-cloudbox.aliyuncs.com
----------------------------------------------------------------------
No             :1
Id             :cb-wz9conqz5shwj945****
Name           :oss-cn-shenzhen-cloudbox-b
Owner          :1************4
Region         :oss-cn-shenzhen
ControlEndpoint:cb-wz9conqz5shwj945****.cn-shenzhen.oss-cloudbox-control.aliyuncs.com
DataEndpoint   :cb-wz9conqz5shwj945****.cn-shenzhen.oss-cloudbox.aliyuncs.com
----------------------------------------------------------------------

0.495359(s) elapsed

Each entry contains the following fields:

FieldDescription
NoSequence number of the entry in the list
IdCloudBox ID
NameCloudBox bucket name
OwnerAlibaba Cloud account ID
RegionRegion where the bucket resides
ControlEndpointControl endpoint of the CloudBox
DataEndpointData endpoint of the CloudBox

List buckets from another Alibaba Cloud account

Use -i and -k to specify the AccessKey ID and AccessKey secret of a different account:

ossutil lcb --sign-version v4 --region cn-heyuan --cloudbox-id cb-u8s7yvzgwfkl9q0h**** -i yourAccessKeyID -k yourAccessKeySecret

Common options

For a full list of common options (such as -i, -k, and endpoint configuration), see Common options.