return only value of secret

This commit is contained in:
Joel 2022-03-29 10:33:53 +02:00 committed by GitHub
parent e0082f4c76
commit bd907425a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ def tss_backend(**kwargs):
secret_dict = secret_server.get_secret(kwargs['secret_id'])
secret = ServerSecret(**secret_dict)
return secret.fields[kwargs['secret_field']]
return secret.fields[kwargs['secret_field']].value
tss_plugin = CredentialPlugin(