55
66 This API provides endpoints for managing keys and key rings.
77
8- The version of the OpenAPI document: 1beta .0.0
8+ The version of the OpenAPI document: 1 .0.0
99 Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111 Do not edit the class manually.
2222
2323from stackit .kms .models .access_scope import AccessScope
2424from stackit .kms .models .algorithm import Algorithm
25- from stackit .kms .models .backend import Backend
2625from stackit .kms .models .protection import Protection
2726from stackit .kms .models .purpose import Purpose
2827
@@ -34,7 +33,6 @@ class CreateKeyPayload(BaseModel):
3433
3534 access_scope : Optional [AccessScope ] = AccessScope .PUBLIC
3635 algorithm : Algorithm
37- backend : Backend
3836 description : Optional [StrictStr ] = Field (
3937 default = None , description = "A user chosen description to distinguish multiple keys."
4038 )
@@ -44,12 +42,11 @@ class CreateKeyPayload(BaseModel):
4442 import_only : Optional [StrictBool ] = Field (
4543 default = False , description = "States whether versions can be created or only imported." , alias = "importOnly"
4644 )
47- protection : Optional [ Protection ] = None
45+ protection : Protection
4846 purpose : Purpose
4947 __properties : ClassVar [List [str ]] = [
5048 "access_scope" ,
5149 "algorithm" ,
52- "backend" ,
5350 "description" ,
5451 "displayName" ,
5552 "importOnly" ,
@@ -109,7 +106,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
109106 {
110107 "access_scope" : obj .get ("access_scope" ) if obj .get ("access_scope" ) is not None else AccessScope .PUBLIC ,
111108 "algorithm" : obj .get ("algorithm" ),
112- "backend" : obj .get ("backend" ),
113109 "description" : obj .get ("description" ),
114110 "displayName" : obj .get ("displayName" ),
115111 "importOnly" : obj .get ("importOnly" ) if obj .get ("importOnly" ) is not None else False ,
0 commit comments