Add the option to add multiple ssh public keys for Azure infrastructure (#3674)

This give users the option to define multiple ssh public keys when
deploying the base infrastructure on Azure.
This commit is contained in:
Thomas Nys
2018-11-08 15:25:07 +01:00
committed by Antoine Legrand
parent 9f7c2b08a5
commit dc3195310c
4 changed files with 15 additions and 8 deletions

View File

@@ -66,10 +66,12 @@
"disablePasswordAuthentication": "true",
"ssh": {
"publicKeys": [
{% for key in ssh_public_keys %}
{
"path": "{{sshKeyPath}}",
"keyData": "{{ssh_public_key}}"
}
"keyData": "{{key}}"
}{% if loop.index < ssh_public_keys | length %},{% endif %}
{% endfor %}
]
}
}