stackit-kms 0.0.4__tar.gz → 0.0.5__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.
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/PKG-INFO +2 -2
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/README.md +1 -1
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/pyproject.toml +3 -3
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/key.py +2 -2
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/key_ring.py +2 -2
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/version.py +2 -9
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/wrapping_key.py +2 -2
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/LICENSE.md +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/__init__.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/api/__init__.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/api/default_api.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/api_client.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/api_response.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/configuration.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/exceptions.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/__init__.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/algorithm.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/backend.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/create_key_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/create_key_ring_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/create_wrapping_key_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/decrypt_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/decrypted_data.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/encrypt_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/encrypted_data.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/http_error.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/import_key_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/key_list.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/key_ring_list.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/purpose.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/sign_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/signed_data.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/verified_data.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/verify_payload.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/version_list.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/wrapping_algorithm.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/wrapping_key_list.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/wrapping_purpose.py +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/py.typed +0 -0
- {stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: stackit-kms
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.5
|
|
4
4
|
Summary: STACKIT Key Management Service API
|
|
5
5
|
Author: STACKIT Developer Tools
|
|
6
6
|
Author-email: developer-tools@stackit.cloud
|
|
@@ -25,7 +25,7 @@ This API provides endpoints for managing keys and key rings.
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/
|
|
28
|
+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
## Installation & Usage
|
|
@@ -3,7 +3,7 @@ This API provides endpoints for managing keys and key rings.
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/
|
|
6
|
+
This package is part of the STACKIT Python SDK. For additional information, please visit the [GitHub repository](https://github.com/stackitcloud/stackit-sdk-python) of the SDK.
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
## Installation & Usage
|
|
@@ -3,7 +3,7 @@ name = "stackit-kms"
|
|
|
3
3
|
|
|
4
4
|
[tool.poetry]
|
|
5
5
|
name = "stackit-kms"
|
|
6
|
-
version = "v0.0.
|
|
6
|
+
version = "v0.0.5"
|
|
7
7
|
authors = [
|
|
8
8
|
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
|
|
9
9
|
]
|
|
@@ -44,8 +44,8 @@ flake8-quotes = ">=3.4.0"
|
|
|
44
44
|
isort = ">=5.13.2"
|
|
45
45
|
|
|
46
46
|
[project.urls]
|
|
47
|
-
Homepage = "https://github.com/stackitcloud/
|
|
48
|
-
Issues = "https://github.com/stackitcloud/
|
|
47
|
+
Homepage = "https://github.com/stackitcloud/stackit-sdk-python"
|
|
48
|
+
Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
|
|
49
49
|
|
|
50
50
|
[build-system]
|
|
51
51
|
requires = ["setuptools", "poetry-core"]
|
|
@@ -80,9 +80,9 @@ class Key(BaseModel):
|
|
|
80
80
|
@field_validator("state")
|
|
81
81
|
def state_validate_enum(cls, value):
|
|
82
82
|
"""Validates the enum"""
|
|
83
|
-
if value not in set(["active", "deleted", "not_available", "errors_exist", "no_version"]):
|
|
83
|
+
if value not in set(["active", "deleted", "not_available", "errors_exist", "creating", "no_version"]):
|
|
84
84
|
raise ValueError(
|
|
85
|
-
"must be one of enum values ('active', 'deleted', 'not_available', 'errors_exist', 'no_version')"
|
|
85
|
+
"must be one of enum values ('active', 'deleted', 'not_available', 'errors_exist', 'creating', 'no_version')"
|
|
86
86
|
)
|
|
87
87
|
return value
|
|
88
88
|
|
|
@@ -43,8 +43,8 @@ class KeyRing(BaseModel):
|
|
|
43
43
|
@field_validator("state")
|
|
44
44
|
def state_validate_enum(cls, value):
|
|
45
45
|
"""Validates the enum"""
|
|
46
|
-
if value not in set(["active", "deleted"]):
|
|
47
|
-
raise ValueError("must be one of enum values ('active', 'deleted')")
|
|
46
|
+
if value not in set(["creating", "active", "deleted"]):
|
|
47
|
+
raise ValueError("must be one of enum values ('creating', 'active', 'deleted')")
|
|
48
48
|
return value
|
|
49
49
|
|
|
50
50
|
model_config = ConfigDict(
|
|
@@ -70,17 +70,10 @@ class Version(BaseModel):
|
|
|
70
70
|
def state_validate_enum(cls, value):
|
|
71
71
|
"""Validates the enum"""
|
|
72
72
|
if value not in set(
|
|
73
|
-
[
|
|
74
|
-
"active",
|
|
75
|
-
"key_material_not_ready",
|
|
76
|
-
"key_material_invalid",
|
|
77
|
-
"key_material_unavailable",
|
|
78
|
-
"disabled",
|
|
79
|
-
"destroyed",
|
|
80
|
-
]
|
|
73
|
+
["active", "creating", "key_material_invalid", "key_material_unavailable", "disabled", "destroyed"]
|
|
81
74
|
):
|
|
82
75
|
raise ValueError(
|
|
83
|
-
"must be one of enum values ('active', '
|
|
76
|
+
"must be one of enum values ('active', 'creating', 'key_material_invalid', 'key_material_unavailable', 'disabled', 'destroyed')"
|
|
84
77
|
)
|
|
85
78
|
return value
|
|
86
79
|
|
|
@@ -69,9 +69,9 @@ class WrappingKey(BaseModel):
|
|
|
69
69
|
@field_validator("state")
|
|
70
70
|
def state_validate_enum(cls, value):
|
|
71
71
|
"""Validates the enum"""
|
|
72
|
-
if value not in set(["active", "
|
|
72
|
+
if value not in set(["active", "creating", "expired", "deleted", "key_material_unavailable"]):
|
|
73
73
|
raise ValueError(
|
|
74
|
-
"must be one of enum values ('active', '
|
|
74
|
+
"must be one of enum values ('active', 'creating', 'expired', 'deleted', 'key_material_unavailable')"
|
|
75
75
|
)
|
|
76
76
|
return value
|
|
77
77
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_kms-0.0.4 → stackit_kms-0.0.5}/src/stackit/kms/models/create_wrapping_key_payload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|