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 |
This command is the CLI equivalent of the GetTableEncryption API operation. For API parameter details, see GetTableEncryption.
For a list of global options, see ossutil Global Options.
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