cosmian-kms 4.19.2__cp37-abi3-macosx_10_12_x86_64.whl → 4.20.0__cp37-abi3-macosx_10_12_x86_64.whl
Sign up to get free protection for your applications and to get access to all the features.
- cosmian_kms/__init__.pyi +5 -2
- cosmian_kms/cosmian_kms.abi3.so +0 -0
- {cosmian_kms-4.19.2.dist-info → cosmian_kms-4.20.0.dist-info}/METADATA +1 -1
- cosmian_kms-4.20.0.dist-info/RECORD +7 -0
- cosmian_kms-4.19.2.dist-info/RECORD +0 -7
- {cosmian_kms-4.19.2.dist-info → cosmian_kms-4.20.0.dist-info}/WHEEL +0 -0
cosmian_kms/__init__.pyi
CHANGED
@@ -101,12 +101,13 @@ class KmsClient:
|
|
101
101
|
"""
|
102
102
|
|
103
103
|
def create_cover_crypt_master_key_pair(
|
104
|
-
self, policy: Union[Policy, bytes]
|
104
|
+
self, policy: Union[Policy, bytes, bool], sensitive: bool = False
|
105
105
|
) -> Future[Tuple[str, str]]:
|
106
106
|
"""Generate the master authority keys for supplied Policy.
|
107
107
|
|
108
108
|
Args:
|
109
|
-
policy (Union[Policy, str]): policy used to generate the keys
|
109
|
+
policy (Union[Policy, str, bool]): policy used to generate the keys
|
110
|
+
sensitive (bool): whether the key is sensitive
|
110
111
|
|
111
112
|
Returns:
|
112
113
|
Future[Tuple[str, str]]: (Public key UID, Master secret key UID)
|
@@ -281,6 +282,7 @@ class KmsClient:
|
|
281
282
|
self,
|
282
283
|
access_policy: str,
|
283
284
|
master_secret_key_identifier: str,
|
285
|
+
sensitive: bool = False,
|
284
286
|
tags: Optional[str] = None,
|
285
287
|
) -> Future[str]:
|
286
288
|
"""Generate a user secret key.
|
@@ -289,6 +291,7 @@ class KmsClient:
|
|
289
291
|
Args:
|
290
292
|
access_policy(str): user access policy
|
291
293
|
master_secret_key_identifier (str): master secret key UID
|
294
|
+
sensitive (bool): whether the key is sensitive
|
292
295
|
tags (Optional[List[str]]): optional tags to use with the keys
|
293
296
|
|
294
297
|
Returns:
|
cosmian_kms/cosmian_kms.abi3.so
CHANGED
Binary file
|
@@ -0,0 +1,7 @@
|
|
1
|
+
cosmian_kms-4.20.0.dist-info/METADATA,sha256=ZEscIZG7htwuL6Izh51rR1XZG2pfzPOIVw9Kn8mRRas,1263
|
2
|
+
cosmian_kms-4.20.0.dist-info/WHEEL,sha256=sNJvxUukS6cco7JOpSbnkvq4pZWgu5pjx8brC1Dhg7U,104
|
3
|
+
cosmian_kms/__init__.pyi,sha256=qc6RxPcghHMI48esOFWHHWLuzN3yJLQ1g_OnTngIE9I,15790
|
4
|
+
cosmian_kms/__init__.py,sha256=RFE0iC3agi76L3Tu7aW_qHBzcFMZ-w-In6lPnZpPPL8,350
|
5
|
+
cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
6
|
+
cosmian_kms/cosmian_kms.abi3.so,sha256=jk6NeSDQYJpmeJVl7mDNTR-Yvp7zrqMGxIJwHvG8F6w,4486320
|
7
|
+
cosmian_kms-4.20.0.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
cosmian_kms-4.19.2.dist-info/METADATA,sha256=NWWwyg7rL4LU80BSUycCz8ZbfwT93SC_ta-YkvpPG0s,1263
|
2
|
-
cosmian_kms-4.19.2.dist-info/WHEEL,sha256=sNJvxUukS6cco7JOpSbnkvq4pZWgu5pjx8brC1Dhg7U,104
|
3
|
-
cosmian_kms/__init__.pyi,sha256=j6PBX789uUqFLm_v-1GT-YAgSQ9ODQ3YqOUF3RzDxRU,15602
|
4
|
-
cosmian_kms/__init__.py,sha256=RFE0iC3agi76L3Tu7aW_qHBzcFMZ-w-In6lPnZpPPL8,350
|
5
|
-
cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
6
|
-
cosmian_kms/cosmian_kms.abi3.so,sha256=c4p-P1Yb-tnfaF5DwYesxJxIWYLnn__0YpwCooosmTc,4474152
|
7
|
-
cosmian_kms-4.19.2.dist-info/RECORD,,
|
File without changes
|