[ops-sunbeam] do not log private key when accessing
private_key property is currently logging to debug the actual private key. Remove the log altogether as this should not be logged Change-Id: Ibfbded3d0724dda06098f334218183f32be0ac28
This commit is contained in:
parent
d68e9c757c
commit
c42fd63af7
@ -942,7 +942,6 @@ class TlsCertificatesHandler(RelationHandler):
|
||||
@property
|
||||
def private_key(self):
|
||||
"""Private key for certificates."""
|
||||
logger.debug("Returning private key: {}".format(self._private_key))
|
||||
if self._private_key:
|
||||
return self._private_key.decode()
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user