mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Update required for SDK v1 compatability
This commit is contained in:
@@ -39,7 +39,7 @@ tss_inputs = {
|
|||||||
tss_plugin = CredentialPlugin(
|
tss_plugin = CredentialPlugin(
|
||||||
'Thycotic Secret Server',
|
'Thycotic Secret Server',
|
||||||
tss_inputs,
|
tss_inputs,
|
||||||
lambda **kwargs: SecretServer(
|
lambda **kwargs: SecretServer(kwargs['server_url'], PasswordGrantAuthorizer(kwargs['server_url'], kwargs['username'], kwargs['password'])).get_secret(
|
||||||
kwargs['server_url'], PasswordGrantAuthorizer(kwargs['server_url'].rstrip('/') + '/oauth2/token', kwargs['username'], kwargs['password'])
|
kwargs['secret_id']
|
||||||
).get_secret(kwargs['secret_id']),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user