diff --git a/awx/main/models/credential.py b/awx/main/models/credential.py index 8df80239c466..e3d67404f197 100644 --- a/awx/main/models/credential.py +++ b/awx/main/models/credential.py @@ -710,7 +710,9 @@ def get_creation_params(self): ) def create(self): - return CredentialType(**self.get_creation_params()) + res = CredentialType(**self.get_creation_params()) + res.custom_injectors = self.custom_injectors + return res class CredentialInputSource(PrimordialModel):