stackit-kms 0.12.0__tar.gz → 0.13.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/PKG-INFO +2 -2
  2. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/pyproject.toml +1 -1
  3. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/__init__.py +0 -2
  4. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/__init__.py +0 -1
  5. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/create_key_payload.py +3 -2
  6. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/create_wrapping_key_payload.py +3 -2
  7. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/key.py +3 -2
  8. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/wrapping_key.py +3 -2
  9. stackit_kms-0.12.0/src/stackit/kms/models/protection.py +0 -36
  10. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/.gitignore +0 -0
  11. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/LICENSE.md +0 -0
  12. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/NOTICE.txt +0 -0
  13. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/README.md +0 -0
  14. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/api/__init__.py +0 -0
  15. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/api/default_api.py +0 -0
  16. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/api_client.py +0 -0
  17. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/api_response.py +0 -0
  18. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/configuration.py +0 -0
  19. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/exceptions.py +0 -0
  20. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/access_scope.py +0 -0
  21. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/algorithm.py +0 -0
  22. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/create_key_ring_payload.py +0 -0
  23. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/decrypt_payload.py +0 -0
  24. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/decrypted_data.py +0 -0
  25. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/encrypt_payload.py +0 -0
  26. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/encrypted_data.py +0 -0
  27. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/http_error.py +0 -0
  28. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/import_key_payload.py +0 -0
  29. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/key_list.py +0 -0
  30. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/key_ring.py +0 -0
  31. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/key_ring_list.py +0 -0
  32. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/purpose.py +0 -0
  33. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/sign_payload.py +0 -0
  34. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/signed_data.py +0 -0
  35. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/verified_data.py +0 -0
  36. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/verify_payload.py +0 -0
  37. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/version.py +0 -0
  38. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/version_list.py +0 -0
  39. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/wrapping_algorithm.py +0 -0
  40. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/wrapping_key_list.py +0 -0
  41. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/models/wrapping_purpose.py +0 -0
  42. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/py.typed +0 -0
  43. {stackit_kms-0.12.0 → stackit_kms-0.13.0}/src/stackit/kms/rest.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: stackit-kms
3
- Version: 0.12.0
3
+ Version: 0.13.0
4
4
  Summary: STACKIT Key Management Service API
5
5
  Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
6
6
  Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackit-kms"
3
- version = "v0.12.0"
3
+ version = "v0.13.0"
4
4
  description = "STACKIT Key Management Service API"
5
5
  authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
6
6
  requires-python = ">=3.10,<4.0"
@@ -42,7 +42,6 @@ __all__ = [
42
42
  "KeyList",
43
43
  "KeyRing",
44
44
  "KeyRingList",
45
- "Protection",
46
45
  "Purpose",
47
46
  "SignPayload",
48
47
  "SignedData",
@@ -90,7 +89,6 @@ from stackit.kms.models.key import Key as Key
90
89
  from stackit.kms.models.key_list import KeyList as KeyList
91
90
  from stackit.kms.models.key_ring import KeyRing as KeyRing
92
91
  from stackit.kms.models.key_ring_list import KeyRingList as KeyRingList
93
- from stackit.kms.models.protection import Protection as Protection
94
92
  from stackit.kms.models.purpose import Purpose as Purpose
95
93
  from stackit.kms.models.sign_payload import SignPayload as SignPayload
96
94
  from stackit.kms.models.signed_data import SignedData as SignedData
@@ -28,7 +28,6 @@ from stackit.kms.models.key import Key
28
28
  from stackit.kms.models.key_list import KeyList
29
29
  from stackit.kms.models.key_ring import KeyRing
30
30
  from stackit.kms.models.key_ring_list import KeyRingList
31
- from stackit.kms.models.protection import Protection
32
31
  from stackit.kms.models.purpose import Purpose
33
32
  from stackit.kms.models.sign_payload import SignPayload
34
33
  from stackit.kms.models.signed_data import SignedData
@@ -31,7 +31,6 @@ from typing_extensions import Annotated, Self
31
31
 
32
32
  from stackit.kms.models.access_scope import AccessScope
33
33
  from stackit.kms.models.algorithm import Algorithm
34
- from stackit.kms.models.protection import Protection
35
34
  from stackit.kms.models.purpose import Purpose
36
35
 
37
36
 
@@ -52,7 +51,9 @@ class CreateKeyPayload(BaseModel):
52
51
  import_only: Optional[StrictBool] = Field(
53
52
  default=False, description="States whether versions can be created or only imported.", alias="importOnly"
54
53
  )
55
- protection: Protection
54
+ protection: StrictStr = Field(
55
+ description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
56
+ )
56
57
  purpose: Purpose
57
58
  __properties: ClassVar[List[str]] = [
58
59
  "access_scope",
@@ -23,7 +23,6 @@ from pydantic_core import to_jsonable_python
23
23
  from typing_extensions import Annotated, Self
24
24
 
25
25
  from stackit.kms.models.access_scope import AccessScope
26
- from stackit.kms.models.protection import Protection
27
26
  from stackit.kms.models.wrapping_algorithm import WrappingAlgorithm
28
27
  from stackit.kms.models.wrapping_purpose import WrappingPurpose
29
28
 
@@ -42,7 +41,9 @@ class CreateWrappingKeyPayload(BaseModel):
42
41
  description="The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.",
43
42
  alias="displayName",
44
43
  )
45
- protection: Protection
44
+ protection: StrictStr = Field(
45
+ description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
46
+ )
46
47
  purpose: WrappingPurpose
47
48
  __properties: ClassVar[List[str]] = [
48
49
  "access_scope",
@@ -33,7 +33,6 @@ from typing_extensions import Annotated, Self
33
33
 
34
34
  from stackit.kms.models.access_scope import AccessScope
35
35
  from stackit.kms.models.algorithm import Algorithm
36
- from stackit.kms.models.protection import Protection
37
36
  from stackit.kms.models.purpose import Purpose
38
37
 
39
38
 
@@ -63,7 +62,9 @@ class Key(BaseModel):
63
62
  description="States whether versions can be created or only imported.", alias="importOnly"
64
63
  )
65
64
  key_ring_id: UUID = Field(description="The unique id of the key ring this key is assigned to.", alias="keyRingId")
66
- protection: Protection
65
+ protection: StrictStr = Field(
66
+ description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
67
+ )
67
68
  purpose: Purpose
68
69
  state: StrictStr = Field(description="The current state of the key.")
69
70
  __properties: ClassVar[List[str]] = [
@@ -25,7 +25,6 @@ from pydantic_core import to_jsonable_python
25
25
  from typing_extensions import Annotated, Self
26
26
 
27
27
  from stackit.kms.models.access_scope import AccessScope
28
- from stackit.kms.models.protection import Protection
29
28
  from stackit.kms.models.wrapping_algorithm import WrappingAlgorithm
30
29
  from stackit.kms.models.wrapping_purpose import WrappingPurpose
31
30
 
@@ -51,7 +50,9 @@ class WrappingKey(BaseModel):
51
50
  key_ring_id: UUID = Field(
52
51
  description="The unique id of the key ring this wrapping key is assigned to.", alias="keyRingId"
53
52
  )
54
- protection: Protection
53
+ protection: StrictStr = Field(
54
+ description='The underlying system that is responsible for protecting the key material. Possible values are "software" or "hsm"'
55
+ )
55
56
  public_key: Optional[StrictStr] = Field(
56
57
  default=None, description="The public key of the wrapping key.", alias="publicKey"
57
58
  )
@@ -1,36 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- STACKIT Key Management Service API
5
-
6
- This API provides endpoints for managing keys and key rings.
7
-
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
- from __future__ import annotations
15
-
16
- import json
17
- from enum import Enum
18
-
19
- from typing_extensions import Self
20
-
21
-
22
- class Protection(str, Enum):
23
- """
24
- The underlying system that is responsible for protecting the key material. (\"hsm\" is a private preview feature).
25
- """
26
-
27
- """
28
- allowed enum values
29
- """
30
- SOFTWARE = "software"
31
- HSM = "hsm"
32
-
33
- @classmethod
34
- def from_json(cls, json_str: str) -> Self:
35
- """Create an instance of Protection from a JSON string"""
36
- return cls(json.loads(json_str))
File without changes
File without changes
File without changes
File without changes