All Products
Search
Document Center

Object Storage Service:Get table encryption configuration

Last Updated:May 08, 2026

Retrieves the server-side encryption configuration for a table.

Usage notes

  • If a table does not have an encryption configuration, it inherits the configuration from its Table Bucket.

  • The response includes the encryption method (such as AES256 or KMS) and the Key ID if KMS is used.

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

Get the encryption configuration for the table my_table in the 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