All Products
Search
Document Center

Object Storage Service:Get table encryption configuration

Last Updated:Jun 03, 2026

Retrieve the server-side encryption configuration of a specified table.

Usage notes

  • If a table has no encryption configuration, it inherits the Table Bucket-level configuration.

  • The response includes the encryption method (such as AES256 or KMS) and the KMS key ID if applicable.

Syntax

ossutil tables-api get-table-encryption --table-bucket-arn value --namespace value --name value [flags]

Parameter

Type

Description

--name

string

Required. The name of the table.

--namespace

string

Required. The name of the namespace.

--table-bucket-arn

string

Required. The ARN of the Table Bucket, formatted as acs:osstables:{region}:{uid}:bucket/{bucket-name}.

Note

Examples

Query the encryption configuration of table my_table in namespace my_namespace:

ossutil tables-api get-table-encryption --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace --name my_table