@tsmx/secure-config
Version:
Easy and secure configuration management. JSON based encrypted secrets, optional HMAC validation.
22 lines • 820 B
JSON
{
"database": {
"host": "db.prod.com",
"user": "ENCRYPTED|e1b2a45eb5a0eb322e0a046beaf1ad41|d19523de57a4d1b9bcab541ebfdc19c3",
"password": "ENCRYPTED|f927e2fb32e6600e9be2f4106b999a59|ee003ae28301cc5dbdecac70732121d72edc7bdd564c95281fcf0ea142157571"
},
"filestorage": {
"type": "local",
"params": {
"folder": "/tmp/storage",
"storagepass": "ENCRYPTED|e62c43bcf8a4007a971912149284a5c9|f373db19486354e16deefd7550049fe32c9c06866b8ef345da4a7bcb9a8d3c33"
}
},
"testarray": [
{
"arrayItemKey": "ENCRYPTED|e84ff1d86b842658d5e73ac95be1e214|6b69c98d915f6fa499656fd553d03361"
},
{
"arrayItemKey": "ENCRYPTED|4b103f5c5c4c4af41f8d2ceda7a5a100|7c073186f9d73c2a6c888f1341093719"
}
]
}