From fdae3cd0929c3b8104f9982c8e5c8cf11783b628 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Wed, 11 Mar 2020 17:25:39 +0100 Subject: [PATCH] Explicitly references AppRole --- awx/main/credential_plugins/hashivault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/credential_plugins/hashivault.py b/awx/main/credential_plugins/hashivault.py index c428ee61a0..e1370e00b9 100644 --- a/awx/main/credential_plugins/hashivault.py +++ b/awx/main/credential_plugins/hashivault.py @@ -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