mirror of
https://github.com/ansible/awx.git
synced 2026-10-31 14:36:17 -02:30
Explicitly references AppRole
This commit is contained in:
@@ -114,7 +114,7 @@ def handle_auth(**kwargs):
|
|||||||
elif kwargs.get('role_id') and kwargs.get('secret_id'):
|
elif kwargs.get('role_id') and kwargs.get('secret_id'):
|
||||||
token = approle_auth(**kwargs)
|
token = approle_auth(**kwargs)
|
||||||
else:
|
else:
|
||||||
raise Exception('Either Vault token or Auth parameters must be set')
|
raise Exception('Either token or AppRole parameters must be set')
|
||||||
|
|
||||||
return token
|
return token
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user