diff --git a/docs/UnsealRequest.md b/docs/UnsealRequest.md index d2853dd4..774e65bf 100644 --- a/docs/UnsealRequest.md +++ b/docs/UnsealRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Key** | Pointer to **string** | Specifies a single unseal key share. This is required unless reset is true. | [optional] **Reset** | Pointer to **bool** | Specifies if previously-provided unseal keys are discarded and the unseal process is reset. | [optional] +**Migrate** | Pointer to **bool** | Available in 1.0 - Used to migrate the seal from shamir to autoseal or autoseal to shamir. Must be provided on all unseal key calls. | [optional] diff --git a/openapi.json b/openapi.json index accc85f1..49319b9e 100644 --- a/openapi.json +++ b/openapi.json @@ -50289,6 +50289,10 @@ "reset": { "type": "boolean", "description": "Specifies if previously-provided unseal keys are discarded and the unseal process is reset." + }, + "migrate": { + "type": "boolean", + "description": "Available in 1.0 - Used to migrate the seal from shamir to autoseal or autoseal to shamir. Must be provided on all unseal key calls." } } }, diff --git a/schema/model_unseal_request.go b/schema/model_unseal_request.go index 475e4962..27d1fa3f 100644 --- a/schema/model_unseal_request.go +++ b/schema/model_unseal_request.go @@ -12,4 +12,7 @@ type UnsealRequest struct { // Specifies if previously-provided unseal keys are discarded and the unseal process is reset. Reset bool `json:"reset,omitempty"` + + // Available in 1.0 - Used to migrate the seal from shamir to autoseal or autoseal to shamir. Must be provided on all unseal key calls. + Migrate bool `json:"migrate,omitempty"` }