Package Exports
- @digifi/app-config-loader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@digifi/app-config-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.