implement CredentialType env, file, and extra_vars injectors

see: #5877
This commit is contained in:
Ryan Petrello
2017-04-19 15:19:29 -04:00
parent e65ef35acf
commit a36a53fe40
6 changed files with 293 additions and 30 deletions

View File

@@ -699,24 +699,6 @@ class CredentialTypeInjectorField(JSONSchemaField):
'additionalProperties': False,
'required': ['template'],
},
'ssh': {
'type': 'object',
'properties': {
'private': {'type': 'string'},
'public': {'type': 'string'},
},
'additionalProperties': False,
'required': ['public', 'private'],
},
'password': {
'type': 'object',
'properties': {
'key': {'type': 'string'},
'value': {'type': 'string'},
},
'additionalProperties': False,
'required': ['key', 'value'],
},
'env': {
'type': 'object',
'patternProperties': {