python-tss-sdk icon indicating copy to clipboard operation
python-tss-sdk copied to clipboard

SecretServerClientError with no other information is returned.

Open scetron opened this issue 2 years ago • 3 comments

Description of the issue

Initialize a Domain authorizer and secret server as shown in the README. Attempt to get a secret by ID. A delinea.secrets.server.SecretServerClientError is returned without any other information

Expected behavior

A dictionary with secret values should be returned. If there is an error, something much more verbose should be returned.

Actual behavior

A delinea.secrets.server.SecretServerClientError is returned without any other information. It's not clear to me where the error is.

I have checked the URLs and tokens.

Your environment

MacOs 12.5.1 Python 3.10.6 python-tss-sdk 1.2.0

Steps to reproduce

See above.

scetron avatar Sep 28 '22 19:09 scetron

@scetron We have verified this issue on our end. I am adding this to the teams backlog to investigate further and propose a fix.

tylerezimmerman avatar Oct 03 '22 20:10 tylerezimmerman

Excellent! Thank you.

scetron avatar Oct 04 '22 14:10 scetron

This appears to still be an issue almost two years later. If I understand what I am reading correctly, the SecretServerClientError class doesn't even contain the "response" data that the example specifies to print in the try...except.

I was just pointed to this project from the current documentation. Maybe this should be removed from all references for now?

gamory avatar Sep 03 '24 20:09 gamory