generate_config: Use eyaml to decrypt secret values 15/49015/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 5 Oct 2017 16:24:49 +0000 (12:24 -0400)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 14 Dec 2017 23:30:16 +0000 (23:30 +0000)
commitaffc21ac6c870d068b9dedddce67627f6636dc41
tree308a59b6968dd9434d31a063d69a3ce60da78c8e
parentff8457dedbdad4207557d9b9d91000a1b2990d34
generate_config: Use eyaml to decrypt secret values

Note: IDF data encryption is not supported. Supporting that is
trivial, but it leads to slightly more complicated code, plus it
breaks support for multiline scalar encrypted data in the PDF ('>'),
forcing us to define each encrypted value as inline string.

While at it, fix silly limitation of jinja2 path residing in a subdir
of CWD.

Change-Id: I441ec754d8b6e4aad2ed73aba0b9b18ed65f05f4
Signed-off-by: agardner <agardner@linuxfoundation.org>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d2307b5afbf13644bfe6722018ef1975e92680d1)
config/pdf/pod1.encrypted.yaml [new file with mode: 0644]
config/utils/README.eyaml.rst [new file with mode: 0644]
config/utils/config.example.yaml [new file with mode: 0644]
config/utils/generate_config.py