Explicitly references AppRole

This commit is contained in:
Pierre-Louis Bonicoli 2020-03-11 17:25:39 +01:00 committed by Ryan Petrello
parent 139384acc4
commit fdae3cd092
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -114,7 +114,7 @@ def handle_auth(**kwargs):
elif kwargs.get('role_id') and kwargs.get('secret_id'):
token = approle_auth(**kwargs)
else:
raise Exception('Either Vault token or Auth parameters must be set')
raise Exception('Either token or AppRole parameters must be set')
return token