diff --git a/fireblocks_sdk/sdk.py b/fireblocks_sdk/sdk.py index 6c12cb6..7fe8b00 100644 --- a/fireblocks_sdk/sdk.py +++ b/fireblocks_sdk/sdk.py @@ -2838,14 +2838,7 @@ def add_validation_key(self, validatorKeyPem: str, daysTillExpired: int): """ url = "/v1/external_keys/validation_keys" - - body = { - "pubKeyPem": validatorKeyPem, - "daysTillExpired": daysTillExpired - } - - print("url="+url) - print ("body="+str(body)) + body = {"pubKeyPem": validatorKeyPem, "daysTillExpired": daysTillExpired} return self._post_request(url, body) def get_validation_keys(self): @@ -2883,9 +2876,6 @@ def add_external_key(self, signedCertPem: str, signingDeviceKeyId:str): url = "/v1/external_keys/external_keys" body = {"signedCertPem": signedCertPem, "signingDeviceKeyId": signingDeviceKeyId} - - print("url="+url) - print ("body="+str(body)) return self._post_request(url, body) def get_external_keys(self): @@ -2900,13 +2890,9 @@ def link_external_key_to_users(self, keyId: str, userIds: List[str]): userIds: A list of users Ids to be linked to the key. Can be obtained via get_users() ] """ - url = f"/v1/external_keys/external_key/{keyId}" - body = { - "users": userIds - } - print("url="+url) - print ("body="+str(body)) + url = f"/v1/external_keys/external_key/{keyId}" + body = {"users": userIds} return self._post_request(url, body) def _get_request(self, path, page_mode=False, query_params: Dict = None):