Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplication/plugin-secrets-manager-azure-key-vault

Package Overview
Dependencies
Maintainers
8
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplication/plugin-secrets-manager-azure-key-vault

Amplication plugin for Azure Key Vault

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

@amplication/plugin-secrets-manager-azure-key-vault

NPM Downloads

Amplication plugin that allows easy management of secrets by using Azure Key Vault.

Purpose

This purpose of this plugin is to easily and securely use secrets from Azure Key Vault.

Configuration

The plugins are fetched by two methods:

  • STARTUP - In this method, the plugins are fetched during the startup time (Initially loaded).
  • ON_DEMAND - In this method, the plugins are fetched during the runtime (Loaded when the secrets are needed).

You need to define also a property named secretNames that will contain a list of the secrets that the service needs to interact with (see below for the formatting of the secret name).

Example:

"fetchMode": "STARTUP",
"secretNames": [
    "SecretA:Version1",
    "SecretB",
    "SecretC:Version2",
    "SecretD:Version1"
]

Secret name format

The secret name must be formatted in either of the following way:

  • <secret_name>:<secret_version> - This format specifies that a secret named secret_name and version secret_version needs to be loaded.
  • <secret_name> - This format specifies that the secret named secret_name of latest version needs to be loaded.

Usage

To use this plugin:

  1. Enable the plugin in your Amplication app.
  2. Make sure to setup your credentials that will be used to fetch the secrets.
  3. In your server's .env, change the AZURE_VAULT_NAME to the name of the vault from where the secrets will be pulled.

This plugin will override your default implementation for SecretsManagerService to use the secrets from Azure Key Vault.

Scripts

build

Running npm run build will bundle your plugin with Webpack for production.

dev

Running npm run dev will watch your plugin's source code and automatically bundle it with every change.

FAQs

Package last updated on 28 Dec 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc