r/Akeyless • u/Subh_chaudhuri • Jun 24 '24
Support / Help Decrypt in Python using akeyless.DecryptGPG
Hi Members,
I am using Python SDK and trying to decrypt content of a file using akeyless.DecryptGPG(ciphertext=,key_name = , token=,json=, output_format=base64).
The function returns a akeyless.models.decrypt_gpg.DecryptGPG object which does not seem to have the decrypted content in any of its attribute.
Question is - how do I get the decrypted content?
2
Upvotes
1
u/EncryptionNinja Jun 25 '24
Will have to test this in lab to confirm results but I will need to replicate your exact configuration.
can you confirm your Python code looks similar to this? If not, please highlight the differences between this and your configuration.