Updates to network credentials

Separating out the network credential used fields
This commit is contained in:
Matthew Jones
2016-04-21 16:43:31 -04:00
parent efebb3701b
commit fe360ca8e3
5 changed files with 28 additions and 7 deletions

View File

@@ -1560,7 +1560,8 @@ class CredentialSerializer(BaseSerializer):
'password', 'security_token', 'project', 'domain',
'ssh_key_data', 'ssh_key_unlock',
'become_method', 'become_username', 'become_password',
'vault_password', 'subscription', 'tenant', 'secret', 'client')
'vault_password', 'subscription', 'tenant', 'secret', 'client',
'authorize', 'authorize_password')
def build_standard_field(self, field_name, model_field):
field_class, field_kwargs = super(CredentialSerializer, self).build_standard_field(field_name, model_field)