Skip to content

Commit cd61246

Browse files
Generator: Update SDK /services/kms (#2258)
Co-authored-by: Ruben Hoenle <[email protected]>
1 parent d89eb2c commit cd61246

38 files changed

+107
-138
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Release (2025-MM-DD)
2+
- `kms`: [v0.4.0](services/kms/CHANGELOG.md#v040)
3+
- Switch to API version `v1` of STACKIT KMS service (previously `v1beta`)
4+
- **Breaking Change:** Removal of deprecated `Backend` model
5+
- **Breaking Change:** Mark `protection` attribute as required in `Key`, `CreateKeyPayload`, `CreateWrappingKeyPayload` and `WrappingKey` model
6+
17
## Release (2025-08-29)
28
- `kms`: [v0.3.0](services/kms/CHANGELOG.md#v030)
39
- **Breaking Change:** Updated `create_key()` and `create_wrapping_key()` method signatures to require new `access_scope` parameter

services/kms/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v0.4.0
2+
- Switch to API version `v1` of STACKIT KMS service (previously `v1beta`)
3+
- **Breaking Change:** Removal of deprecated `Backend` model
4+
- **Breaking Change:** Mark `protection` attribute as required in `Key`, `CreateKeyPayload`, `CreateWrappingKeyPayload` and `WrappingKey` model
5+
16
## v0.3.0
27
- **Breaking Change:** Updated `create_key()` and `create_wrapping_key()` method signatures to require new `access_scope` parameter
38
- **Breaking Change:** Added new required `access_scope` field to `Key` and `WrappingKey` models

services/kms/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-kms"
33

44
[tool.poetry]
55
name = "stackit-kms"
6-
version = "v0.3.0"
6+
version = "v0.4.0"
77
authors = [
88
"STACKIT Developer Tools <[email protected]>",
99
]
@@ -96,4 +96,4 @@ docstring-quotes = '"""'
9696
multiline-quotes = '"""'
9797
ban-relative-imports = true
9898
# Exclude generated code
99-
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]
99+
extend-exclude = [ "src/stackit/*/models/*", "src/stackit/*/api/*", "src/stackit/*/*.py" ]

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
This API provides endpoints for managing keys and key rings.
99
10-
The version of the OpenAPI document: 1beta.0.0
10+
The version of the OpenAPI document: 1.0.0
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -30,7 +30,6 @@
3030
"ApiException",
3131
"AccessScope",
3232
"Algorithm",
33-
"Backend",
3433
"CreateKeyPayload",
3534
"CreateKeyRingPayload",
3635
"CreateWrappingKeyPayload",
@@ -75,7 +74,6 @@
7574
# import models into sdk package
7675
from stackit.kms.models.access_scope import AccessScope as AccessScope
7776
from stackit.kms.models.algorithm import Algorithm as Algorithm
78-
from stackit.kms.models.backend import Backend as Backend
7977
from stackit.kms.models.create_key_payload import CreateKeyPayload as CreateKeyPayload
8078
from stackit.kms.models.create_key_ring_payload import (
8179
CreateKeyRingPayload as CreateKeyRingPayload,

0 commit comments

Comments
 (0)