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
4 changes: 1 addition & 3 deletions services/kms/src/stackit/kms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -30,7 +30,6 @@
"ApiException",
"AccessScope",
"Algorithm",
"Backend",
"CreateKeyPayload",
"CreateKeyRingPayload",
"CreateWrappingKeyPayload",
Expand Down Expand Up @@ -75,7 +74,6 @@
# import models into sdk package
from stackit.kms.models.access_scope import AccessScope as AccessScope
from stackit.kms.models.algorithm import Algorithm as Algorithm
from stackit.kms.models.backend import Backend as Backend
from stackit.kms.models.create_key_payload import CreateKeyPayload as CreateKeyPayload
from stackit.kms.models.create_key_ring_payload import (
CreateKeyRingPayload as CreateKeyRingPayload,
Expand Down
100 changes: 56 additions & 44 deletions services/kms/src/stackit/kms/api/default_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
3 changes: 1 addition & 2 deletions services/kms/src/stackit/kms/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -16,7 +16,6 @@
# import models into model package
from stackit.kms.models.access_scope import AccessScope
from stackit.kms.models.algorithm import Algorithm
from stackit.kms.models.backend import Backend
from stackit.kms.models.create_key_payload import CreateKeyPayload
from stackit.kms.models.create_key_ring_payload import CreateKeyRingPayload
from stackit.kms.models.create_wrapping_key_payload import CreateWrappingKeyPayload
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/access_scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
35 changes: 0 additions & 35 deletions services/kms/src/stackit/kms/models/backend.py

This file was deleted.

8 changes: 2 additions & 6 deletions services/kms/src/stackit/kms/models/create_key_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -22,7 +22,6 @@

from stackit.kms.models.access_scope import AccessScope
from stackit.kms.models.algorithm import Algorithm
from stackit.kms.models.backend import Backend
from stackit.kms.models.protection import Protection
from stackit.kms.models.purpose import Purpose

Expand All @@ -34,7 +33,6 @@ class CreateKeyPayload(BaseModel):

access_scope: Optional[AccessScope] = AccessScope.PUBLIC
algorithm: Algorithm
backend: Backend
description: Optional[StrictStr] = Field(
default=None, description="A user chosen description to distinguish multiple keys."
)
Expand All @@ -44,12 +42,11 @@ class CreateKeyPayload(BaseModel):
import_only: Optional[StrictBool] = Field(
default=False, description="States whether versions can be created or only imported.", alias="importOnly"
)
protection: Optional[Protection] = None
protection: Protection
purpose: Purpose
__properties: ClassVar[List[str]] = [
"access_scope",
"algorithm",
"backend",
"description",
"displayName",
"importOnly",
Expand Down Expand Up @@ -109,7 +106,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
{
"access_scope": obj.get("access_scope") if obj.get("access_scope") is not None else AccessScope.PUBLIC,
"algorithm": obj.get("algorithm"),
"backend": obj.get("backend"),
"description": obj.get("description"),
"displayName": obj.get("displayName"),
"importOnly": obj.get("importOnly") if obj.get("importOnly") is not None else False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -21,7 +21,6 @@
from typing_extensions import Annotated, Self

from stackit.kms.models.access_scope import AccessScope
from stackit.kms.models.backend import Backend
from stackit.kms.models.protection import Protection
from stackit.kms.models.wrapping_algorithm import WrappingAlgorithm
from stackit.kms.models.wrapping_purpose import WrappingPurpose
Expand All @@ -34,19 +33,17 @@ class CreateWrappingKeyPayload(BaseModel):

access_scope: Optional[AccessScope] = AccessScope.PUBLIC
algorithm: WrappingAlgorithm
backend: Backend
description: Optional[StrictStr] = 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"
)
protection: Optional[Protection] = None
protection: Protection
purpose: WrappingPurpose
__properties: ClassVar[List[str]] = [
"access_scope",
"algorithm",
"backend",
"description",
"displayName",
"protection",
Expand Down Expand Up @@ -105,7 +102,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
{
"access_scope": obj.get("access_scope") if obj.get("access_scope") is not None else AccessScope.PUBLIC,
"algorithm": obj.get("algorithm"),
"backend": obj.get("backend"),
"description": obj.get("description"),
"displayName": obj.get("displayName"),
"protection": obj.get("protection"),
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/decrypt_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/decrypted_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/encrypt_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/encrypted_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/http_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
8 changes: 2 additions & 6 deletions services/kms/src/stackit/kms/models/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -30,7 +30,6 @@

from stackit.kms.models.access_scope import AccessScope
from stackit.kms.models.algorithm import Algorithm
from stackit.kms.models.backend import Backend
from stackit.kms.models.protection import Protection
from stackit.kms.models.purpose import Purpose

Expand All @@ -42,7 +41,6 @@ class Key(BaseModel):

access_scope: AccessScope
algorithm: Algorithm
backend: Backend
created_at: datetime = Field(
description="The date and time the creation of the key was triggered.", alias="createdAt"
)
Expand All @@ -64,13 +62,12 @@ class Key(BaseModel):
key_ring_id: StrictStr = Field(
description="The unique id of the key ring this key is assigned to.", alias="keyRingId"
)
protection: Optional[Protection] = None
protection: Protection
purpose: Purpose
state: StrictStr = Field(description="The current state of the key.")
__properties: ClassVar[List[str]] = [
"access_scope",
"algorithm",
"backend",
"createdAt",
"deletionDate",
"description",
Expand Down Expand Up @@ -144,7 +141,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
{
"access_scope": obj.get("access_scope") if obj.get("access_scope") is not None else AccessScope.PUBLIC,
"algorithm": obj.get("algorithm"),
"backend": obj.get("backend"),
"createdAt": obj.get("createdAt"),
"deletionDate": obj.get("deletionDate"),
"description": obj.get("description"),
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/key_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/key_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/key_ring_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
4 changes: 2 additions & 2 deletions services/kms/src/stackit/kms/models/protection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand All @@ -21,7 +21,7 @@

class Protection(str, Enum):
"""
The underlying system that is responsible for protecting the key material. Overrides the deprecated 'backend' field.
The underlying system that is responsible for protecting the key material.
"""

"""
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/purpose.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/sign_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion services/kms/src/stackit/kms/models/signed_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This API provides endpoints for managing keys and key rings.

The version of the OpenAPI document: 1beta.0.0
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
Expand Down
Loading
Loading