Merge pull request #6252 from ryanpetrello/ssh_credential_refactor

refactor and fix ssh_private_key and ssh_key_unlock validation
This commit is contained in:
Ryan Petrello
2017-05-12 16:48:51 -04:00
committed by GitHub
4 changed files with 102 additions and 47 deletions

View File

@@ -126,7 +126,11 @@ ordered fields for that type:
"help_text": "User-facing short text describing the field.",
"type": ("string" | "number" | "ssh_private_key") # required,
"type": ("string" | "number") # required,
"format": "ssh_private_key" # optional, can be used to enforce data
# format validity for SSH private keys
# data
"secret": true, # if true, the field will be treated
# as sensitive and stored encrypted