@digifi/app-config-loader
v5.0.4
Published
Config loader for DigiFi Applications
Downloads
468
Maintainers
Keywords
Readme
App Config Loader 5
This package helps you to encapsulate code related to retrieving environment variables.
This package takes values either from Azure/AWS/process.env.
BRAKING CHANGES (migrating from v4)
Now you need to parse .env files on your own. You can use dotenv package for this.
Default import returns SecretService, instead of new SecretService, you should create an instance manually.
there are no required environment variables anymore like (AzureKeyVaultName, AwsSecretsManagerSecretId, AwsRegion), you should pass configs to SecretService constructor.