
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@harperdb/azure-secrets-to-environment
Advanced tools
This project accesses an Azure key vault and assigns the secrets to environment variables.
This project is a Protocol Extension that accesses an Azure key vault and assigns the keys to environment variables.
Install this package in your Harper application: npm install --save @harperdb/azure-secrets-to-environment
After installation, add the extension (@harperdb/azure-secrets-to-environment) into your application's config.yaml file.
This component must be listed above any components that will access the environment variables.
'@harperdb/azure-secrets-to-environment':
package: '@harperdb/azure-secrets-to-environment'
'@harperdb/http-router':
package: '@harperdb/http-router'
files: '*.*js' # to load the routes.js and config files
'@harperdb/nextjs':
package: '@harperdb/nextjs'
files: '/*'
There are 2 ways to provide this extension with the credentials needed to access your Azure vault, depending on the managedCredentials: boolean configuration option:
managedCredentials: false (default))The following environment variables (i.e. through process.env) must be accessible to your deployed component:
managedCredentials: true)When you do not want to deploy your credentials with your component code, you can set managedCredentials to true, and the credentials (i.e. AZURE_TENANT_ID, AZURE_CLIENT_ID, and AZURE_CLIENT_SECRET) will be securely pulled from within the deployed environment.
For this to work, your deployed component must have access to dotfile containing:
In order for your extension to access the dotfile, you must also set the files property in your config.yaml with the path to the dotfile
'@harperdb/azure-secrets-to-environment':
package: '@harperdb/azure-secrets-to-environment'
managedCredentials: true
files: '/path/to/.dotfile'
'@harperdb/http-router':
package: '@harperdb/http-router'
files: '*.*js' # to load the routes.js and config files
'@harperdb/nextjs':
package: '@harperdb/nextjs'
files: '/*'
To prevent the storage/exposure of credentials in your deployed component code, the credentials can be "managed" outside of the component scope. Currently, the host machine
of the harperdb container will inject an AZURE_VAULT_MAP as environment variable which will allow remote deployments to require just the AZURE_VAULT_NAME
FAQs
This project accesses an Azure key vault and assigns the secrets to environment variables.
We found that @harperdb/azure-secrets-to-environment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.