@@ -18,6 +18,10 @@ Create new volume type
1818 [--property < key= value> [...] ]
1919 [--project < project> ]
2020 [--project-domain < project-domain> ]
21+ [--encryption-provider < provider> ]
22+ [--encryption-cipher < cipher> ]
23+ [--encryption-key-size < key-size> ]
24+ [--encryption-control-location < control-location> ]
2125 < name>
2226
2327 .. option :: --description <description >
@@ -56,6 +60,34 @@ Create new volume type
5660
5761 *Volume version 2 only *
5862
63+ .. option :: --encryption-provider <provider >
64+
65+ Set the class that provides encryption support for this volume type
66+ (e.g "LuksEncryptor") (admin only)
67+
68+ This option is required when setting encryption type of a volume.
69+ Consider using other encryption options such as: :option: `--encryption-cipher `,
70+ :option: `--encryption-key-size ` and :option: `--encryption-control-location `
71+
72+ .. option :: --encryption-cipher <cipher >
73+
74+ Set the encryption algorithm or mode for this volume type
75+ (e.g "aes-xts-plain64") (admin only)
76+
77+ .. option :: --encryption-key-size <key-size >
78+
79+ Set the size of the encryption key of this volume type
80+ (e.g "128" or "256") (admin only)
81+
82+ .. option :: --encryption-control-location <control-location >
83+
84+ Set the notional service where the encryption is performed
85+ ("front-end" or "back-end") (admin only)
86+
87+ The default value for this option is "front-end" when setting encryption type of
88+ a volume. Consider using other encryption options such as: :option: `--encryption-cipher `,
89+ :option: `--encryption-key-size ` and :option: `--encryption-provider `
90+
5991.. _volume_type_create-name :
6092.. describe :: <name>
6193
@@ -88,6 +120,7 @@ List volume types
88120 openstack volume type list
89121 [--long]
90122 [--default | --public | --private]
123+ [--encryption-type]
91124
92125 .. option :: --long
93126
@@ -111,6 +144,10 @@ List volume types
111144
112145 *Volume version 2 only *
113146
147+ .. option :: --encryption-type
148+
149+ Display encryption information for each volume type (admin only)
150+
114151volume type set
115152---------------
116153
@@ -125,6 +162,10 @@ Set volume type properties
125162 [--property < key= value> [...] ]
126163 [--project < project> ]
127164 [--project-domain < project-domain> ]
165+ [--encryption-provider < provider> ]
166+ [--encryption-cipher < cipher> ]
167+ [--encryption-key-size < key-size> ]
168+ [--encryption-control-location < control-location> ]
128169 < volume-type>
129170
130171 .. option :: --name <name >
@@ -154,6 +195,34 @@ Set volume type properties
154195
155196 Set a property on this volume type (repeat option to set multiple properties)
156197
198+ .. option :: --encryption-provider <provider >
199+
200+ Set the class that provides encryption support for this volume type
201+ (e.g "LuksEncryptor") (admin only)
202+
203+ This option is required when setting encryption type of a volume for the first time.
204+ Consider using other encryption options such as: :option: `--encryption-cipher `,
205+ :option: `--encryption-key-size ` and :option: `--encryption-control-location `
206+
207+ .. option :: --encryption-cipher <cipher >
208+
209+ Set the encryption algorithm or mode for this volume type
210+ (e.g "aes-xts-plain64") (admin only)
211+
212+ .. option :: --encryption-key-size <key-size >
213+
214+ Set the size of the encryption key of this volume type
215+ (e.g "128" or "256") (admin only)
216+
217+ .. option :: --encryption-control-location <control-location >
218+
219+ Set the notional service where the encryption is performed
220+ ("front-end" or "back-end") (admin only)
221+
222+ The default value for this option is "front-end" when setting encryption type of
223+ a volume for the first time. Consider using other encryption options such as:
224+ :option: `--encryption-cipher `, :option: `--encryption-key-size ` and :option: `--encryption-provider `
225+
157226.. _volume_type_set-volume-type :
158227.. describe :: <volume-type>
159228
@@ -168,8 +237,13 @@ Display volume type details
168237.. code :: bash
169238
170239 openstack volume type show
240+ [--encryption-type]
171241 < volume-type>
172242
243+ .. option :: --encryption-type
244+
245+ Display encryption information of this volume type (admin only)
246+
173247.. _volume_type_show-volume-type :
174248.. describe :: <volume-type>
175249
@@ -187,6 +261,7 @@ Unset volume type properties
187261 [--property < key> [...] ]
188262 [--project < project> ]
189263 [--project-domain < project-domain> ]
264+ [--encryption-type]
190265 < volume-type>
191266
192267 .. option :: --property <key >
@@ -204,6 +279,12 @@ Unset volume type properties
204279 Domain the project belongs to (name or ID).
205280 This can be used in case collisions between project names exist.
206281
282+ *Volume version 2 only *
283+
284+ .. option :: --encryption-type
285+
286+ Remove the encryption type for this volume type (admin only)
287+
207288.. _volume_type_unset-volume-type :
208289.. describe :: <volume-type>
209290
0 commit comments