Skip to content

Commit 9302827

Browse files
dtrtsaverche
andauthored
Adding migrate parameter for the unseal operation (#25550)
* ADding migrate parameter for the unseal operation * Removing version availability statement * Adding changelog file --------- Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>
1 parent e1c3f4a commit 9302827

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

changelog/25550.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
openapi: added the missing migrate parameter for the unseal endpoint in vault/logical_system_paths.go
3+
```

vault/logical_system_paths.go

+4
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,10 @@ func (b *SystemBackend) rekeyPaths() []*framework.Path {
11801180
Type: framework.TypeBool,
11811181
Description: "Specifies if previously-provided unseal keys are discarded and the unseal process is reset.",
11821182
},
1183+
"migrate": {
1184+
Type: framework.TypeBool,
1185+
Description: "Used to migrate the seal from shamir to autoseal or autoseal to shamir. Must be provided on all unseal key calls.",
1186+
},
11831187
},
11841188

11851189
Operations: map[logical.Operation]framework.OperationHandler{

0 commit comments

Comments
 (0)