Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Release (2026-xx-xx)

- `kms`: [v0.7.0](services/kms/CHANGELOG.md#v070)
- Set fields `description` to optional in for `Key`, `KeyRing` and `WrappingKey`

## Release (2026-01-27)
- `serverbackup`: [v1.1.1](services/serverbackup/CHANGELOG.md#v111)
- **Bugfix:** Update backup status codes to match the backup status codes actually returned by the server backup API
Expand Down
3 changes: 3 additions & 0 deletions services/kms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.7.0
- Set fields `description` to optional in for `Key`, `KeyRing` and `WrappingKey`

## v0.6.0
- Set fields `description` and `import_only` to required in response struct `Key`
- Set fields `description` and `public_key` to required in response struct `WrappingKey`
Expand Down
2 changes: 1 addition & 1 deletion services/kms/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-kms"

[tool.poetry]
name = "stackit-kms"
version = "v0.6.0"
version = "v0.7.0"
authors = [
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
]
Expand Down
4 changes: 2 additions & 2 deletions services/kms/src/stackit/kms/models/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class Key(BaseModel):
description="This date is set when a key is pending deletion and refers to the scheduled date of deletion",
alias="deletionDate",
)
description: Annotated[str, Field(strict=True, max_length=256)] = Field(
description="A user chosen description to distinguish multiple keys."
description: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(
default=None, description="A user chosen description to distinguish multiple keys."
)
display_name: Annotated[str, Field(strict=True, max_length=64)] = Field(
description="The display name to distinguish multiple keys.", alias="displayName"
Expand Down
4 changes: 2 additions & 2 deletions services/kms/src/stackit/kms/models/key_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class KeyRing(BaseModel):
created_at: datetime = Field(
description="The date and time the creation of the key ring was triggered.", alias="createdAt"
)
description: Annotated[str, Field(strict=True, max_length=256)] = Field(
description="A user chosen description to distinguish multiple key rings."
description: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(
default=None, description="A user chosen description to distinguish multiple key rings."
)
display_name: Annotated[str, Field(strict=True, max_length=64)] = Field(
description="The display name to distinguish multiple key rings.", alias="displayName"
Expand Down
4 changes: 2 additions & 2 deletions services/kms/src/stackit/kms/models/wrapping_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class WrappingKey(BaseModel):
created_at: datetime = Field(
description="The date and time the creation of the wrapping key was triggered.", alias="createdAt"
)
description: Annotated[str, Field(strict=True, max_length=256)] = Field(
description="A user chosen description to distinguish multiple wrapping keys."
description: Optional[Annotated[str, Field(strict=True, max_length=256)]] = Field(
default=None, description="A user chosen description to distinguish multiple wrapping keys."
)
display_name: Annotated[str, Field(strict=True, max_length=64)] = Field(
description="The display name to distinguish multiple wrapping keys.", alias="displayName"
Expand Down
Loading