cosmian-kms 4.19.2__cp37-abi3-win_amd64.whl → 4.20.0__cp37-abi3-win_amd64.whl

Sign up to get free protection for your applications and to get access to all the features.
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:
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cosmian_kms
3
- Version: 4.19.2
3
+ Version: 4.20.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -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=TZt2KSIVxFBqGJ3Nlzs-Ax5C_okeQ7lJKl6eUhy0Us4,94
3
+ cosmian_kms/__init__.py,sha256=RFE0iC3agi76L3Tu7aW_qHBzcFMZ-w-In6lPnZpPPL8,350
4
+ cosmian_kms/__init__.pyi,sha256=qc6RxPcghHMI48esOFWHHWLuzN3yJLQ1g_OnTngIE9I,15790
5
+ cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
6
+ cosmian_kms/cosmian_kms.pyd,sha256=73X8_cCWeZqdu4tIGu3_GCWp76tU8ApwKij5fhu-maM,7316480
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=TZt2KSIVxFBqGJ3Nlzs-Ax5C_okeQ7lJKl6eUhy0Us4,94
3
- cosmian_kms/__init__.py,sha256=RFE0iC3agi76L3Tu7aW_qHBzcFMZ-w-In6lPnZpPPL8,350
4
- cosmian_kms/__init__.pyi,sha256=j6PBX789uUqFLm_v-1GT-YAgSQ9ODQ3YqOUF3RzDxRU,15602
5
- cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
6
- cosmian_kms/cosmian_kms.pyd,sha256=L_zvF06LeYdUUBkwt6C4B2ivah_RiwVTShwmaTjUhmA,7329792
7
- cosmian_kms-4.19.2.dist-info/RECORD,,