Update required for SDK v1 compatability

This commit is contained in:
endlesstrax 2021-07-14 14:49:23 +00:00 committed by Adam Migus
parent fa7867e8a7
commit 9dc84d69d5

View File

@ -39,7 +39,7 @@ tss_inputs = {
tss_plugin = CredentialPlugin(
'Thycotic Secret Server',
tss_inputs,
lambda **kwargs: SecretServer(
kwargs['server_url'], PasswordGrantAuthorizer(kwargs['server_url'].rstrip('/') + '/oauth2/token', kwargs['username'], kwargs['password'])
).get_secret(kwargs['secret_id']),
lambda **kwargs: SecretServer(kwargs['server_url'], PasswordGrantAuthorizer(kwargs['server_url'], kwargs['username'], kwargs['password'])).get_secret(
kwargs['secret_id']
),
)