Skip to content

Commit 8312fbc

Browse files
Generate kms
1 parent b3be77c commit 8312fbc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎services/kms/oas_commit‎

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

‎services/kms/src/stackit/kms/models/import_key_payload.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
from typing import Any, ClassVar, Dict, List, Optional, Set
1919
from uuid import UUID
2020

21-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
21+
from pydantic import BaseModel, ConfigDict, Field
2222
from pydantic_core import to_jsonable_python
23-
from typing_extensions import Self
23+
from typing_extensions import Annotated, Self
2424

2525

2626
class ImportKeyPayload(BaseModel):
2727
"""
2828
ImportKeyPayload
2929
""" # noqa: E501
3030

31-
wrapped_key: StrictStr = Field(
31+
wrapped_key: Annotated[str, Field(strict=True, max_length=85336)] = Field(
3232
description="The wrapped key material that has to be imported. Encoded in base64.", alias="wrappedKey"
3333
)
3434
wrapping_key_id: UUID = Field(

0 commit comments

Comments
 (0)