mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 17:50:02 -03:30
Explicitly references AppRole
This commit is contained in:
committed by
Ryan Petrello
parent
139384acc4
commit
fdae3cd092
@@ -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