Explicitly references AppRole

This commit is contained in:
Pierre-Louis Bonicoli
2020-04-28 10:33:40 -04:00
committed by Ryan Petrello
parent 139384acc4
commit fdae3cd092
+1 -1
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