cloudkeys v1.1.2
CloudKeys Documentation
CloudKeys is a powerful npm package that allows you to generate and manage secure cloud access keys. This documentation will guide you through the installation process and show you how to create a script for generating cloud access keys.
Installation
To use CloudKeys in your project, you'll need to install it as a dependency. You can do this using npm or yarn. Open your terminal or command prompt and run the following command:
npm install cloudkeys
or
yarn add cloudkeys
This will download and install the CloudKeys package in your project.
Generating Cloud Access Keys
Once you have CloudKeys installed, you can create a script in your project that will use CloudKeys to generate cloud access keys. Follow these steps to create the script:
- Install the Azure CLI
brew update && brew install azure-cli
- Run
AZ Login
- Create a configuration file in the root of your project with the name
cloudkeys-config.json
{
"keyVaultUrl": "https://KEYVAULTNAME.vault.azure.net/"
}
- Update your package json
"scripts":{
"generate": "cloudkeys -g"
}
The command -g
will generate the your .env file with your keys and secrets from your azure keyvault.