From fc73bdcc187572c645ba10a09be40653d93a48ff Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Fri, 18 Aug 2017 15:51:07 -0400 Subject: [PATCH] add required fields for azure classic credentials https://github.com/ansible/ansible-tower/issues/7464 --- awx/main/models/credential.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/models/credential.py b/awx/main/models/credential.py index 799b421aee..9f66965651 100644 --- a/awx/main/models/credential.py +++ b/awx/main/models/credential.py @@ -954,7 +954,8 @@ def azure(cls): 'help_text': ('Paste the contents of the PEM file that corresponds ' 'to the certificate you uploaded in the Microsoft ' 'Azure console.') - }] + }], + 'required': ['username', 'ssh_key_data'], } )