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 |
Note
-
This command is the CLI equivalent of the GetTableEncryption API operation.
-
All global options are documented in ossutil Global Options.
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