controller_credentials.yml.j2 template
This template just ensures the correct variable header is placed in the file, the content is written later.
To ensure the content is correctly encrypted.
---
{% if code_environment_vars[curr_file.split(',')[0]]['credentials'] | length > 0 %}
controller_credentials_{{ curr_file.split(',')[0] }}:
{% else %}
controller_credentials_{{ curr_file.split(',')[0] }}: []
{% endif %}