4.6. Managing Storage Tier Encryption

4.6.1. Showing Storage Tier Encryption Status

4.6.1.1. Syntax

usage: vinfra cluster settings encryption show [-h]
                                               [-f {json,table,value,yaml}]
                                               [-c COLUMN]

Display storage tiers encyption.
...

4.6.1.2. Sample Output

This command shows encryption status of each storage tier.

# vinfra cluster settings encryption show
+-------+-------+
| Field | Value |
+-------+-------+
| tier0 | False |
| tier1 | False |
| tier2 | False |
| tier3 | False |
+-------+-------+

4.6.2. Setting Storage Tier Encryption

4.6.2.1. Syntax

usage: vinfra cluster settings encryption set [-h]
                                              [-f {json,table,value,yaml}]
                                              [-c COLUMN]
                                              [--tier-enable {0,1,2,3}]
                                              [--tier-disable {0,1,2,3}]

Set storage tiers encyption.

optional arguments:
  -h, --help            show this help message and exit
  --tier-enable {0,1,2,3}
                        Enable encryption for storage tiers. This option can
                        be used multiple times.
  --tier-disable {0,1,2,3}
                        Disable encryption for storage tiers. This option can
                        be used multiple times.
...

4.6.2.2. Sample Output

This command enables encryption for the storage tier 2.

# vinfra cluster settings encryption set --tier-enable 2
+-------+-------+
| Field | Value |
+-------+-------+
| tier0 | False |
| tier1 | False |
| tier2 | True  |
| tier3 | False |
+-------+-------+