tencentcloud-sdk-python-kms 3.0.1259__tar.gz → 3.0.1262__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.
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/setup.py +1 -1
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud/kms/v20190118/models.py +24 -25
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud_sdk_python_kms.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-kms-3.0.1262/tencentcloud_sdk_python_kms.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-kms-3.0.1259/tencentcloud_sdk_python_kms.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/README.rst +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/setup.cfg +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud/kms/__init__.py +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud/kms/v20190118/__init__.py +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud/kms/v20190118/errorcodes.py +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud/kms/v20190118/kms_client.py +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud_sdk_python_kms.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud_sdk_python_kms.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-kms-3.0.1259 → tencentcloud-sdk-python-kms-3.0.1262}/tencentcloud_sdk_python_kms.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-kms',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1262"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Kms SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -643,20 +643,16 @@ class CreateKeyResponse(AbstractModel):
|
|
|
643
643
|
:param _CreateTime: 密钥创建时间,unix时间戳
|
|
644
644
|
:type CreateTime: int
|
|
645
645
|
:param _Description: CMK的描述
|
|
646
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
647
646
|
:type Description: str
|
|
648
647
|
:param _KeyState: CMK的状态
|
|
649
648
|
:type KeyState: str
|
|
650
649
|
:param _KeyUsage: CMK的用途
|
|
651
650
|
:type KeyUsage: str
|
|
652
651
|
:param _TagCode: 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
|
|
653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
654
652
|
:type TagCode: int
|
|
655
653
|
:param _TagMsg: 标签操作的返回信息
|
|
656
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
657
654
|
:type TagMsg: str
|
|
658
655
|
:param _HsmClusterId: HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
|
659
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
660
656
|
:type HsmClusterId: str
|
|
661
657
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
662
658
|
:type RequestId: str
|
|
@@ -854,10 +850,8 @@ class CreateWhiteBoxKeyResponse(AbstractModel):
|
|
|
854
850
|
:param _KeyId: 白盒密钥的全局唯一标识符
|
|
855
851
|
:type KeyId: str
|
|
856
852
|
:param _TagCode: 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误
|
|
857
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
858
853
|
:type TagCode: int
|
|
859
854
|
:param _TagMsg: 标签操作的返回信息
|
|
860
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
861
855
|
:type TagMsg: str
|
|
862
856
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
863
857
|
:type RequestId: str
|
|
@@ -1203,7 +1197,6 @@ class DescribeKeyResponse(AbstractModel):
|
|
|
1203
1197
|
def __init__(self):
|
|
1204
1198
|
r"""
|
|
1205
1199
|
:param _KeyMetadata: 密钥属性信息
|
|
1206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1207
1200
|
:type KeyMetadata: :class:`tencentcloud.kms.v20190118.models.KeyMetadata`
|
|
1208
1201
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1209
1202
|
:type RequestId: str
|
|
@@ -1276,7 +1269,6 @@ class DescribeKeysResponse(AbstractModel):
|
|
|
1276
1269
|
def __init__(self):
|
|
1277
1270
|
r"""
|
|
1278
1271
|
:param _KeyMetadatas: 返回的属性信息列表
|
|
1279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1280
1272
|
:type KeyMetadatas: list of KeyMetadata
|
|
1281
1273
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1282
1274
|
:type RequestId: str
|
|
@@ -1540,7 +1532,6 @@ class DescribeWhiteBoxKeyDetailsResponse(AbstractModel):
|
|
|
1540
1532
|
:param _KeyInfos: 白盒密钥信息列表。
|
|
1541
1533
|
:type KeyInfos: list of WhiteboxKeyInfo
|
|
1542
1534
|
:param _TotalCount: 白盒密钥总数。
|
|
1543
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1544
1535
|
:type TotalCount: int
|
|
1545
1536
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1546
1537
|
:type RequestId: str
|
|
@@ -1710,7 +1701,6 @@ class DeviceFingerprint(AbstractModel):
|
|
|
1710
1701
|
:param _Identity: 指纹信息,由设备指纹采集工具采集获得,格式满足正则表达式:^[0-9a-f]{8}[\-][0-9a-f]{14}[\-][0-9a-f]{14}[\-][0-9a-f]{14}[\-][0-9a-f]{16}$
|
|
1711
1702
|
:type Identity: str
|
|
1712
1703
|
:param _Description: 描述信息,如:IP,设备名称等,最大1024字节
|
|
1713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1714
1704
|
:type Description: str
|
|
1715
1705
|
"""
|
|
1716
1706
|
self._Identity = None
|
|
@@ -3083,7 +3073,6 @@ class GetRegionsResponse(AbstractModel):
|
|
|
3083
3073
|
def __init__(self):
|
|
3084
3074
|
r"""
|
|
3085
3075
|
:param _Regions: 可用region列表
|
|
3086
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3087
3076
|
:type Regions: list of str
|
|
3088
3077
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3089
3078
|
:type RequestId: str
|
|
@@ -3129,27 +3118,20 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
3129
3118
|
:param _ServiceEnabled: KMS服务是否开通, true 表示已开通
|
|
3130
3119
|
:type ServiceEnabled: bool
|
|
3131
3120
|
:param _InvalidType: 服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放
|
|
3132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3133
3121
|
:type InvalidType: int
|
|
3134
3122
|
:param _UserLevel: 0-普通版,1-旗舰版
|
|
3135
3123
|
:type UserLevel: int
|
|
3136
3124
|
:param _ProExpireTime: 旗舰版到期时间(Epoch Unix Timestamp)。
|
|
3137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3138
3125
|
:type ProExpireTime: int
|
|
3139
3126
|
:param _ProRenewFlag: 旗舰版是否自动续费:0-不自动续费,1-自动续费
|
|
3140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3141
3127
|
:type ProRenewFlag: int
|
|
3142
3128
|
:param _ProResourceId: 旗舰版购买记录的唯一性标识。如果为开通旗舰版,则返回值为空
|
|
3143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3144
3129
|
:type ProResourceId: str
|
|
3145
3130
|
:param _ExclusiveVSMEnabled: 是否开通 KMS 托管版
|
|
3146
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3147
3131
|
:type ExclusiveVSMEnabled: bool
|
|
3148
3132
|
:param _ExclusiveHSMEnabled: 是否开通 KMS 独享版
|
|
3149
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3150
3133
|
:type ExclusiveHSMEnabled: bool
|
|
3151
3134
|
:param _SubscriptionInfo: KMS 订阅信息。
|
|
3152
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3153
3135
|
:type SubscriptionInfo: str
|
|
3154
3136
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3155
3137
|
:type RequestId: str
|
|
@@ -3416,19 +3398,19 @@ class KeyMetadata(AbstractModel):
|
|
|
3416
3398
|
:param _NextRotateTime: 在密钥轮换开启状态下,下次轮换的时间
|
|
3417
3399
|
:type NextRotateTime: int
|
|
3418
3400
|
:param _DeletionDate: 计划删除的时间
|
|
3419
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3420
3401
|
:type DeletionDate: int
|
|
3421
3402
|
:param _Origin: CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
|
3422
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3423
3403
|
:type Origin: str
|
|
3424
3404
|
:param _ValidTo: 在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期
|
|
3425
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3426
3405
|
:type ValidTo: int
|
|
3427
3406
|
:param _ResourceId: 资源ID,格式:creatorUin/$creatorUin/$keyId
|
|
3428
3407
|
:type ResourceId: str
|
|
3429
3408
|
:param _HsmClusterId: HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
|
3430
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3431
3409
|
:type HsmClusterId: str
|
|
3410
|
+
:param _RotateDays: 密钥轮转周期(天)
|
|
3411
|
+
:type RotateDays: int
|
|
3412
|
+
:param _LastRotateTime: 上次乱转时间(Unix timestamp)
|
|
3413
|
+
:type LastRotateTime: int
|
|
3432
3414
|
"""
|
|
3433
3415
|
self._KeyId = None
|
|
3434
3416
|
self._Alias = None
|
|
@@ -3446,6 +3428,8 @@ class KeyMetadata(AbstractModel):
|
|
|
3446
3428
|
self._ValidTo = None
|
|
3447
3429
|
self._ResourceId = None
|
|
3448
3430
|
self._HsmClusterId = None
|
|
3431
|
+
self._RotateDays = None
|
|
3432
|
+
self._LastRotateTime = None
|
|
3449
3433
|
|
|
3450
3434
|
@property
|
|
3451
3435
|
def KeyId(self):
|
|
@@ -3575,6 +3559,22 @@ class KeyMetadata(AbstractModel):
|
|
|
3575
3559
|
def HsmClusterId(self, HsmClusterId):
|
|
3576
3560
|
self._HsmClusterId = HsmClusterId
|
|
3577
3561
|
|
|
3562
|
+
@property
|
|
3563
|
+
def RotateDays(self):
|
|
3564
|
+
return self._RotateDays
|
|
3565
|
+
|
|
3566
|
+
@RotateDays.setter
|
|
3567
|
+
def RotateDays(self, RotateDays):
|
|
3568
|
+
self._RotateDays = RotateDays
|
|
3569
|
+
|
|
3570
|
+
@property
|
|
3571
|
+
def LastRotateTime(self):
|
|
3572
|
+
return self._LastRotateTime
|
|
3573
|
+
|
|
3574
|
+
@LastRotateTime.setter
|
|
3575
|
+
def LastRotateTime(self, LastRotateTime):
|
|
3576
|
+
self._LastRotateTime = LastRotateTime
|
|
3577
|
+
|
|
3578
3578
|
|
|
3579
3579
|
def _deserialize(self, params):
|
|
3580
3580
|
self._KeyId = params.get("KeyId")
|
|
@@ -3593,6 +3593,8 @@ class KeyMetadata(AbstractModel):
|
|
|
3593
3593
|
self._ValidTo = params.get("ValidTo")
|
|
3594
3594
|
self._ResourceId = params.get("ResourceId")
|
|
3595
3595
|
self._HsmClusterId = params.get("HsmClusterId")
|
|
3596
|
+
self._RotateDays = params.get("RotateDays")
|
|
3597
|
+
self._LastRotateTime = params.get("LastRotateTime")
|
|
3596
3598
|
memeber_set = set(params.keys())
|
|
3597
3599
|
for name, value in vars(self).items():
|
|
3598
3600
|
property_name = name[1:]
|
|
@@ -3841,7 +3843,6 @@ class ListKeyDetailResponse(AbstractModel):
|
|
|
3841
3843
|
:param _TotalCount: CMK的总数量
|
|
3842
3844
|
:type TotalCount: int
|
|
3843
3845
|
:param _KeyMetadatas: 返回的属性信息列表。
|
|
3844
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3845
3846
|
:type KeyMetadatas: list of KeyMetadata
|
|
3846
3847
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3847
3848
|
:type RequestId: str
|
|
@@ -3963,7 +3964,6 @@ class ListKeysResponse(AbstractModel):
|
|
|
3963
3964
|
def __init__(self):
|
|
3964
3965
|
r"""
|
|
3965
3966
|
:param _Keys: CMK列表数组
|
|
3966
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3967
3967
|
:type Keys: list of Key
|
|
3968
3968
|
:param _TotalCount: CMK的总数量
|
|
3969
3969
|
:type TotalCount: int
|
|
@@ -5264,7 +5264,6 @@ class WhiteboxKeyInfo(AbstractModel):
|
|
|
5264
5264
|
:param _ResourceId: 资源ID,格式:creatorUin/$creatorUin/$keyId
|
|
5265
5265
|
:type ResourceId: str
|
|
5266
5266
|
:param _DeviceFingerprintBind: 是否有设备指纹与当前密钥绑定
|
|
5267
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5268
5267
|
:type DeviceFingerprintBind: bool
|
|
5269
5268
|
"""
|
|
5270
5269
|
self._KeyId = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1262
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1259
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|