Skip to content

ColourboxDevelopment/configuration-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Configuration generator

In order to be GDPR compliant we must store passwords as encrypted strings in parameter store. To make this bearable when writing configuration files, I've made this program to grab keys in parameter store and fill them in.

Let's say you have this configuration template file:

<?php
return [
	'pass' => '{{/DB/Metaeskuel/Jonna/Password}}'
];

you can then run python3 render.py config.template.php > config.php which will result in {{ /DB/Metaeskuel/Jonna/Password }} being filled out with the password stored in parameter store resulting in

<?php
return [
	'pass' => 'ILiekTurtel!'
];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages