1.0.3 • Published 5 years ago

add-azure-secrets v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

add-azure-secrets

This adds secrets to the azure key vault. Usually you manually add secrets to key vault, which is long and tedious process, & currently available libraries require lots of processing to authenticate & add secrets. The "add-azure-secrets" will simplify all the process and help you to automate adding secrets to the azure key vault.

Authenticate application by client ID and client secret & use your key vault URI to add secrets.

Installing

npm i add-azure-secrets

Versioning

We use SemVer for versioning.

Example

let secretClient = require('add-azure-secrets');

async function configureKeyVaultValues() {
    let secrets = [
        {
            Name: 'database',
            Value: 'db-name'
        },
        {
            Name: 'database-password',
            Value: 'db-password'
        }
    ]
    let applicationID = '';
    let applicationSecret = '';
    let vaultURL = '';
    await secretClient.addSecrets(applicationID, applicationSecret, vaultURL, secrets);
}

Authors

  • Rahul Patil

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago