Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generator: Update SDK /services/kms#2253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes fromall 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 deletionsservices/kms/src/stackit/kms/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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 deletionsservices/kms/src/stackit/kms/api/default_api.py
View file
Open in desktop

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletionservices/kms/src/stackit/kms/api_client.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/configuration.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/exceptions.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsservices/kms/src/stackit/kms/models/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/access_scope.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/algorithm.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsservices/kms/src/stackit/kms/models/backend.py
View file
Open in desktop

This file was deleted.

8 changes: 2 additions & 6 deletionsservices/kms/src/stackit/kms/models/create_key_payload.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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 deletionservices/kms/src/stackit/kms/models/decrypt_payload.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/decrypted_data.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/encrypt_payload.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/encrypted_data.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/http_error.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsservices/kms/src/stackit/kms/models/key.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 DownExpand 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 deletionservices/kms/src/stackit/kms/models/key_list.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/key_ring.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/key_ring_list.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsservices/kms/src/stackit/kms/models/protection.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/purpose.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/sign_payload.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionservices/kms/src/stackit/kms/models/signed_data.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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

[8]ページ先頭

©2009-2025 Movatter.jp