Edit KEK Parameters
The ability to edit KEK parameters depends on the setting of the expiration_options
parameter for the KEK. This parameter can be:
no_change
— The KEK expiration options cannot be changed after the Cloud VM Set has been created. Once the top-level key expires it cannot be reactivated and all VMs will be automatically detached from KeyControl when the expiration date is reached.change
— The KEK expiration options can be changed after the Cloud VM Set has been created, but thekek_expire_days
option cannot be extended beyond the original date.extend
— All KEK expiration options can be changed after the Cloud VM Set has been created.
Request
Method |
URI |
---|---|
PATCH |
v5/kek_edit/ |
Privileges Required
Any valid KeyControl user account with CLOUD_ADMIN privileges can edit the KEK parameters for a Cloud VM Set as long as that user account is a member of the Cloud Admin Group associated with the Cloud VM Set.
Parameters
Name |
Type |
Example |
---|---|---|
cvmset_guid |
string |
30dd18df-185f-11e8-a8fd-000c2997200a The GUID for the Cloud VM Set. The GUID is returned when the Cloud VM Set is created and when you view the details of a Cloud VM Set. |
kek_expire_days |
integer |
The number of seconds for which the KEK is valid. The default is 1209600 seconds (14 days). To indicate that the KEK should never expire, specify 0 (zero). When this time period expires:
|
kek_expire_action | string |
The action to be taken when the KEK expires. Allowable values:
|
expiration_options |
string |
Allowable Values:
|
retention_period |
integer |
7776000 If After this period passes, KeyControl permanently deletes the Cloud VM Set, all VMs registered with that set, and the associated KEK. |
Response
Name |
Type |
Example |
---|---|---|
result |
string |
success |
Errors
Reason |
Example |
---|---|
Invalid Cloud VM Set GUID |
Cloud VM Set not found |