Skip to content

Commit 2f5dc63

Browse files
Generator: Update SDK /services/kms (#8964)
* Generate kms * chore(kms): Add changelog Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> --------- Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent aa6d4de commit 2f5dc63

12 files changed

Lines changed: 26 additions & 50 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Release (2026-MM-DD)
2+
3+
- `kms`:
4+
- [v0.13.0](services/kms/CHANGELOG.md#v0130)
5+
- **Breaking Change:** Remove enum `Protection`
6+
- **Breaking Change:** Change type of `protection` attribute from `Protection` to `str` in `CreateKeyPayload`, `CreateWrappingKeyPayload`, `Key` and `WrappingKey` model
7+
18
## Release (2026-08-25)
29

310
- `core`:

services/kms/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.13.0
2+
- **Breaking Change:** Remove enum `Protection`
3+
- **Breaking Change:** Change type of `protection` attribute from `Protection` to `str` in `CreateKeyPayload`, `CreateWrappingKeyPayload`, `Key` and `WrappingKey` model
4+
15
## v0.12.0
26
- **Feature:** Add `HSM` as allowed value to `Protection` class.
37

services/kms/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c09e232a83532c75ca1041153e3ebc7ce2d50eb6
1+
da4701b7dbe20e984aef89711bb9ba716e19fcba

services/kms/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-kms"
3-
version = "v0.12.0"
3+
version = "v0.13.0"
44
description = "STACKIT Key Management Service API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.10,<4.0"

services/kms/src/stackit/kms/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"KeyList",
4343
"KeyRing",
4444
"KeyRingList",
45-
"Protection",
4645
"Purpose",
4746
"SignPayload",
4847
"SignedData",
@@ -90,7 +89,6 @@
9089
from stackit.kms.models.key_list import KeyList as KeyList
9190
from stackit.kms.models.key_ring import KeyRing as KeyRing
9291
from stackit.kms.models.key_ring_list import KeyRingList as KeyRingList
93-
from stackit.kms.models.protection import Protection as Protection
9492
from stackit.kms.models.purpose import Purpose as Purpose
9593
from stackit.kms.models.sign_payload import SignPayload as SignPayload
9694
from stackit.kms.models.signed_data import SignedData as SignedData

services/kms/src/stackit/kms/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
from stackit.kms.models.key_list import KeyList
2929
from stackit.kms.models.key_ring import KeyRing
3030
from stackit.kms.models.key_ring_list import KeyRingList
31-
from stackit.kms.models.protection import Protection
3231
from stackit.kms.models.purpose import Purpose
3332
from stackit.kms.models.sign_payload import SignPayload
3433
from stackit.kms.models.signed_data import SignedData

services/kms/src/stackit/kms/models/create_key_payload.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
from stackit.kms.models.access_scope import AccessScope
3333
from stackit.kms.models.algorithm import Algorithm
34-
from stackit.kms.models.protection import Protection
3534
from stackit.kms.models.purpose import Purpose
3635

3736

@@ -52,7 +51,9 @@ class CreateKeyPayload(BaseModel):
5251
import_only: Optional[StrictBool] = Field(
5352
default=False, description="States whether versions can be created or only imported.", alias="importOnly"
5453
)
55-
protection: Protection
54+
protection: StrictStr = Field(
55+
description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
56+
)
5657
purpose: Purpose
5758
__properties: ClassVar[List[str]] = [
5859
"access_scope",

services/kms/src/stackit/kms/models/create_wrapping_key_payload.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from typing_extensions import Annotated, Self
2424

2525
from stackit.kms.models.access_scope import AccessScope
26-
from stackit.kms.models.protection import Protection
2726
from stackit.kms.models.wrapping_algorithm import WrappingAlgorithm
2827
from stackit.kms.models.wrapping_purpose import WrappingPurpose
2928

@@ -42,7 +41,9 @@ class CreateWrappingKeyPayload(BaseModel):
4241
description="The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.",
4342
alias="displayName",
4443
)
45-
protection: Protection
44+
protection: StrictStr = Field(
45+
description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
46+
)
4647
purpose: WrappingPurpose
4748
__properties: ClassVar[List[str]] = [
4849
"access_scope",

services/kms/src/stackit/kms/models/key.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
from stackit.kms.models.access_scope import AccessScope
3535
from stackit.kms.models.algorithm import Algorithm
36-
from stackit.kms.models.protection import Protection
3736
from stackit.kms.models.purpose import Purpose
3837

3938

@@ -63,7 +62,9 @@ class Key(BaseModel):
6362
description="States whether versions can be created or only imported.", alias="importOnly"
6463
)
6564
key_ring_id: UUID = Field(description="The unique id of the key ring this key is assigned to.", alias="keyRingId")
66-
protection: Protection
65+
protection: StrictStr = Field(
66+
description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
67+
)
6768
purpose: Purpose
6869
state: StrictStr = Field(description="The current state of the key.")
6970
__properties: ClassVar[List[str]] = [

services/kms/src/stackit/kms/models/protection.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)