cosmian-kms 4.9.1__cp37-abi3-macosx_10_7_x86_64.whl → 4.10.1__cp37-abi3-macosx_10_7_x86_64.whl

Sign up to get free protection for your applications and to get access to all the features.
cosmian_kms/__init__.pyi CHANGED
@@ -105,7 +105,7 @@ class KmsClient:
105
105
  self,
106
106
  attributes: List[Union[Attribute, str]],
107
107
  master_secret_key_identifier: Optional[str],
108
- tags: Optional[List[str]] = None
108
+ tags: Optional[List[str]] = None,
109
109
  ) -> Future[Tuple[str, str]]:
110
110
  """Rotate the given policy attributes. This will rekey in the KMS:
111
111
  - the Master Keys
@@ -123,11 +123,11 @@ class KmsClient:
123
123
  self,
124
124
  attributes: List[Union[Attribute, str]],
125
125
  master_secret_key_identifier: str,
126
- tags: Optional[List[str]] = None
126
+ tags: Optional[List[str]] = None,
127
127
  ) -> Tuple[str, str]:
128
128
  """
129
129
  Remove old rotations from the specified policy attributes.
130
-
130
+
131
131
  This will rekey in the KMS:
132
132
  - the Master Keys
133
133
  - all User Decryption Keys that contain one of these attributes in their policy.
@@ -136,7 +136,7 @@ class KmsClient:
136
136
  - attributes (List[Union[Attribute, str]): Attributes to rotate e.g. ["Department::HR"]
137
137
  - master_secret_key_identifier (str): Master secret key UID
138
138
  - tags (List[str]): Tags to use when the master_secret_key_identifier is not provided (default: None)
139
-
139
+
140
140
  Returns:
141
141
  Tuple[str, str]: (Public key UID, Master secret key UID)
142
142
  """
@@ -144,11 +144,11 @@ class KmsClient:
144
144
  self,
145
145
  attribute: Union[Attribute, str],
146
146
  master_secret_key_identifier: str,
147
- tags: Optional[List[str]] = None
147
+ tags: Optional[List[str]] = None,
148
148
  ) -> Tuple[str, str]:
149
149
  """
150
150
  Remove a specific attribute from a keypair's policy.
151
-
151
+
152
152
  This will rekey in the KMS:
153
153
  - the Master Keys
154
154
  - all User Decryption Keys that contain one of these attributes in their policy.
@@ -157,7 +157,7 @@ class KmsClient:
157
157
  - attributes (List[Union[Attribute, str]): Attributes to remove e.g. "Department::HR"
158
158
  - master_secret_key_identifier (str): Master secret key UID
159
159
  - tags (List[str]): Tags to use when the master_secret_key_identifier is not provided (default: None)
160
-
160
+
161
161
  Returns:
162
162
  Tuple[str, str]: (Public key UID, Master secret key UID)
163
163
  """
@@ -165,11 +165,11 @@ class KmsClient:
165
165
  self,
166
166
  attribute: Union[Attribute, str],
167
167
  master_secret_key_identifier: str,
168
- tags: Optional[List[str]] = None
168
+ tags: Optional[List[str]] = None,
169
169
  ) -> Tuple[str, str]:
170
170
  """
171
171
  Disable a specific attribute from a keypair's policy.
172
-
172
+
173
173
  This will rekey in the KMS:
174
174
  - the Master Keys
175
175
  - all User Decryption Keys that contain one of these attributes in their policy.
@@ -178,7 +178,7 @@ class KmsClient:
178
178
  - attributes (List[Union[Attribute, str]): Attributes to disable e.g. "Department::HR"
179
179
  - master_secret_key_identifier (str): Master secret key UID
180
180
  - tags (List[str]): Tags to use when the master_secret_key_identifier is not provided (default: None)
181
-
181
+
182
182
  Returns:
183
183
  Tuple[str, str]: (Public key UID, Master secret key UID)
184
184
  """
@@ -187,11 +187,11 @@ class KmsClient:
187
187
  attribute: Union[Attribute, str],
188
188
  is_hybridized: bool,
189
189
  master_secret_key_identifier: str,
190
- tags: Optional[List[str]] = None
190
+ tags: Optional[List[str]] = None,
191
191
  ) -> Tuple[str, str]:
192
192
  """
193
193
  Add a specific attribute to a keypair's policy.
194
-
194
+
195
195
  This will rekey in the KMS:
196
196
  - the Master Keys
197
197
  - all User Decryption Keys that contain one of these attributes in their policy.
@@ -201,7 +201,7 @@ class KmsClient:
201
201
  - is_hybridized (bool): hint for encryption
202
202
  - master_secret_key_identifier (str): Master secret key UID
203
203
  - tags (List[str]): Tags to use when the master_secret_key_identifier is not provided (default: None)
204
-
204
+
205
205
  Returns:
206
206
  Tuple[str, str]: (Public key UID, Master secret key UID)
207
207
  """
@@ -210,11 +210,11 @@ class KmsClient:
210
210
  attribute: Union[Attribute, str],
211
211
  new_name: str,
212
212
  master_secret_key_identifier: str,
213
- tags: Optional[List[str]] = None
213
+ tags: Optional[List[str]] = None,
214
214
  ) -> Tuple[str, str]:
215
215
  """
216
216
  Add a specific attribute to a keypair's policy.
217
-
217
+
218
218
  This will rekey in the KMS:
219
219
  - the Master Keys
220
220
  - all User Decryption Keys that contain one of these attributes in their policy.
@@ -224,7 +224,7 @@ class KmsClient:
224
224
  - new_name (str): the new name for the attribute
225
225
  - master_secret_key_identifier (str): Master secret key UID
226
226
  - tags (List[str]): Tags to use when the master_secret_key_identifier is not provided (default: None)
227
-
227
+
228
228
  Returns:
229
229
  Tuple[str, str]: (Public key UID, Master secret key UID)
230
230
  """
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cosmian_kms
3
- Version: 4.9.1
3
+ Version: 4.10.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -28,7 +28,7 @@ To build the Python interface, run:
28
28
  maturin build --release
29
29
  ```
30
30
 
31
- __Note__: when a new function or class is added to the PyO3 interface, its signature needs to be added to [`__init__.pyi`](../../python/cosmian_kms/__init__.pyi).
31
+ __Note__: when a new function or class is added to the PyO3 interface, its signature needs to be added to [`__init__.pyi`](python/cosmian_kms/__init__.pyi).
32
32
 
33
33
  To run tests on the Python interface, run:
34
34
 
@@ -0,0 +1,8 @@
1
+ cosmian_kms-4.10.1.dist-info/METADATA,sha256=zp2L1BmN8xCk6tzAbUQexfMVPkrBLjW_hqxdOWEt98A,1037
2
+ cosmian_kms-4.10.1.dist-info/WHEEL,sha256=irKzEAn0bfTquFmremNVmHd8cI5gu9QFr94j8ci9mpc,103
3
+ cosmian_kms-4.10.1.dist-info/license_files/LICENSE.md,sha256=_zfsPgqYDWuqWECzE0w-LQfkkgg28_DMNj87xgn6OUI,32275
4
+ cosmian_kms/__init__.pyi,sha256=q6iBF9r0XcA1ZtEZusYFyl1pU433ZBfXygm9nK9A7Xw,13801
5
+ cosmian_kms/__init__.py,sha256=ePBIbK1BLxb1v3EhtMcSKuP7ddcNMBCOYSacaKw-LJo,152
6
+ cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
7
+ cosmian_kms/cosmian_kms.abi3.so,sha256=tIloyoGhy_zQkDZANbRsn8-wf41so6Zj2Cb1-aBO2EE,6829552
8
+ cosmian_kms-4.10.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.3.1)
2
+ Generator: maturin (1.4.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp37-abi3-macosx_10_7_x86_64
@@ -1,8 +0,0 @@
1
- cosmian_kms-4.9.1.dist-info/METADATA,sha256=xcJP9viRM2t82vwAnhVQG7e1tsuYLCtI8X_Z6K7Vqf4,1042
2
- cosmian_kms-4.9.1.dist-info/WHEEL,sha256=3NcKnJLKEln47hqvixMb2zYhRR-Wdv3YE20z6FaCsx8,103
3
- cosmian_kms-4.9.1.dist-info/license_files/LICENSE.md,sha256=_zfsPgqYDWuqWECzE0w-LQfkkgg28_DMNj87xgn6OUI,32275
4
- cosmian_kms/__init__.pyi,sha256=Lt4NbRQ-OEgk2YD2qYS7J0TnpozhDzxVod1GW-uWil0,13875
5
- cosmian_kms/__init__.py,sha256=ePBIbK1BLxb1v3EhtMcSKuP7ddcNMBCOYSacaKw-LJo,152
6
- cosmian_kms/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
7
- cosmian_kms/cosmian_kms.abi3.so,sha256=ezV8cHGPZG9DmS7ubrWiEGgrPd9FbznmKPBR0P7utKA,7554320
8
- cosmian_kms-4.9.1.dist-info/RECORD,,