![]() Raise error_class(parsed_response, operation_name)ī: An error occurred (InvalidCiphertextException) when calling the Decrypt operation: Encrypt a file client = boto3.client(Īws_secret_access_key=aws_secret_access_key Return self._make_api_call(operation_name, kwargs)įile "runtime/lib/python3.4/site-packages/botocore/client.py", line 661, in _make_api_call But when I tried to decrypted the file using the second part code, it raised an error as below, could someone help on this or there are any better solutions? Many thanks.įile "runtime/lib/python3.4/site-packages/botocore/client.py", line 357, in _api_call ![]() I can get the file encrypted and wrote into a file. I have a python script trying to encrypt a file with AWS KMS using boto3.
0 Comments
Leave a Reply. |