You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/volume.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ import {
41
41
### Optional
42
42
43
43
-`description` (String) The description of the volume.
44
+
-`encryption_parameters` (Attributes) Parameter to connect to a key-encryption-key within the STACKIT-KMS to create encrypted volumes. (see [below for nested schema](#nestedatt--encryption_parameters))
44
45
-`labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
45
46
-`name` (String) The name of the volume.
46
47
-`performance_class` (String) The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/products/storage/block-storage/basics/service-plans/#currently-available-service-plans-performance-classes)
@@ -50,10 +51,26 @@ import {
50
51
51
52
### Read-Only
52
53
54
+
-`encrypted` (Boolean) Indicates if the volume is encrypted.
53
55
-`id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`region`,`volume_id`".
54
56
-`server_id` (String) The server ID of the server to which the volume is attached to.
55
57
-`volume_id` (String) The volume ID.
56
58
59
+
<aid="nestedatt--encryption_parameters"></a>
60
+
### Nested Schema for `encryption_parameters`
61
+
62
+
Required:
63
+
64
+
-`kek_key_id` (String) UUID of the key within the STACKIT-KMS to use for the encryption.
65
+
-`kek_key_version` (Number) Version of the key within the STACKIT-KMS to use for the encryption.
66
+
-`kek_keyring_id` (String) UUID of the keyring where the key is located within the STACKTI-KMS.
67
+
-`service_account` (String) Service-Account linked to the Key within the STACKIT-KMS.
68
+
69
+
Optional:
70
+
71
+
-`key_payload_base64` (String, Sensitive) Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
0 commit comments