mc table encrypt clear
The mc table encrypt clear command removes the server-side encryption configuration from an Iceberg warehouse.
Warehouse scope only
This command operates on warehouses only.
Table-level encryption cannot be cleared: there is no command to remove a table-level override and return a table to the warehouse default.
To change a table’s encryption, run mc table encrypt set again with the desired type.
Clearing or changing a warehouse’s default encryption configuration affects only objects written afterward. Existing warehouse and table objects remain encrypted with their original configuration; this command does not decrypt or re-encrypt existing data.
The following command removes the encryption configuration from the mywarehouse warehouse on the myaistor MinIO AIStor cluster:
mc table encrypt clear myaistor mywarehouseThe command has the following syntax:
mc [GLOBALFLAGS] table encrypt clear \
ALIAS \
WAREHOUSECopy the example to a text editor and modify as needed before running the command in the terminal/shell.
Parameters
ALIAS
Required
The alias of a MinIO AIStor cluster.
WAREHOUSE
Required
The name of the warehouse to remove the encryption configuration from.
Global flags
This command supports any of the global flags.
Examples
Clear warehouse encryption
mc table encrypt clear myaistor mywarehouse