mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Add host and project to the credential serializer.
This commit is contained in:
parent
1531af4f7e
commit
a05aac8a50
@ -1131,8 +1131,8 @@ class CredentialSerializer(BaseSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Credential
|
||||
fields = ('*', 'user', 'team', 'kind', 'cloud', 'username',
|
||||
'password', 'ssh_key_data', 'ssh_key_unlock',
|
||||
fields = ('*', 'user', 'team', 'kind', 'cloud', 'host', 'username',
|
||||
'password', 'project', 'ssh_key_data', 'ssh_key_unlock',
|
||||
'sudo_username', 'sudo_password', 'vault_password')
|
||||
|
||||
def to_native(self, obj):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user