Skip to content

Commit 00a4793

Browse files
authored
fix(key_manager): add scheduled_for_deletion state (scaleway#2640)
1 parent 4c62060 commit 00a4793

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/key_manager/v1alpha1/key_manager_sdk.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ const (
268268
// The key cannot be used for cryptographic operations.
269269
KeyStateDisabled = KeyState("disabled")
270270
// Key material must be imported before the key can be used for cryptographic operations.
271-
KeyStatePendingKeyMaterial = KeyState("pending_key_material")
271+
KeyStatePendingKeyMaterial = KeyState("pending_key_material")
272+
KeyStateScheduledForDeletion = KeyState("scheduled_for_deletion")
272273
)
273274

274275
func (enum KeyState) String() string {
@@ -285,6 +286,7 @@ func (enum KeyState) Values() []KeyState {
285286
"enabled",
286287
"disabled",
287288
"pending_key_material",
289+
"scheduled_for_deletion",
288290
}
289291
}
290292

0 commit comments

Comments
 (0)