mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-10 10:01:48 -05:00
Tweak validation to allow multiple vault credentials
support providing vault passwords based on id include needed passwords in launch serializer defaults
This commit is contained in:
@@ -3449,7 +3449,8 @@ class JobLaunchSerializer(BaseSerializer):
|
||||
dict(
|
||||
id=cred.id,
|
||||
name=cred.name,
|
||||
credential_type=cred.credential_type.pk
|
||||
credential_type=cred.credential_type.pk,
|
||||
passwords_needed=cred.passwords_needed
|
||||
)
|
||||
for cred in obj.credentials.all()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user