Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amittksharma/azure-vault-secrets
azure-vault-secrets is a node package for fetching the secrets from azure key vault. This package enhances the developer experience with minimum mandatory fields
https://github.com/amittksharma/azure-vault-secrets
azure azure-key-vault developer-experience developer-tools nodejs typescript-library
Last synced: 3 months ago
JSON representation
azure-vault-secrets is a node package for fetching the secrets from azure key vault. This package enhances the developer experience with minimum mandatory fields
- Host: GitHub
- URL: https://github.com/amittksharma/azure-vault-secrets
- Owner: amittkSharma
- License: mit
- Created: 2024-06-21T22:25:51.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T20:24:53.000Z (7 months ago)
- Last Synced: 2024-10-29T00:50:46.357Z (4 months ago)
- Topics: azure, azure-key-vault, developer-experience, developer-tools, nodejs, typescript-library
- Language: JavaScript
- Homepage:
- Size: 551 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# azure-vault-secrets
## Introduction
This module "azure-vault-secrets" will enhance the developer experience working with [Azure Key Vault](https://learn.microsoft.com/en-us/azure/key-vault/general/overview). This module will fetch secrets from the azure key vault and create a environment (.env) file.
In order to use this module, there are few pre-requisites that must be observed on the development/deployment machines
### Pre-requisites
- Must have Azure subscription or Azure free account
- Install Azure CLI, [Installation Guide](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli)### Features
- Enhance developer experience
- Minimum mandatory input from the user
- The existing .env file will not be overridden
- Secret keys should be present in yaml format, in "values.yaml" file
- An environment file (.env) file will be created for the secret values### Parameters
Only a minimal set of input is required by the module to complete it's task effectively and efficiently. The module also provides hints and will work with default values in case optional parameters are not provided.
| S.No | Parameter Name | Input | Default Value | Description |
| ---- | --------------- | --------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1. | Vault Name | Mandatory | - | Name of the azure key vault from where secrets will be fetched |
| 2. | Source Location | Optional | Project toot directory | It is the location of the yaml file that contains the secret keys. If the location is not provided the module will look for "values.yaml" file in project root directory. Note: The secret keys must be present in the file name "values.yaml" |
| 3. | Target Location | Optional | Project toot directory | It is the location of .env file creation, if location is not provided the file will be created in the root directory|
| 4. | Object Name | Optional | serviceConfig| This is the top object under which other secret keys are present |### Configuration
- The package also works with a configuration file 'azureVault.yaml'
- Package will ask user confirmation, if provided the configuration file will be created in the root directory
- If the configuration file is present no questions will be asked### License
MIT