1.0.11 • Published 6 months ago

get-vault-credential v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

get-vault-credential

Installation

npm install get-vault-credential # with npm
yarn add get-vault-credential # with yarn

Usage

  • Set up a record with the secret engine KV in the same format as the .env file:

    Instruction 1

  • Then use the path of the newly created record as the value for the --path option:

    Instruction 2

  • Execute command get-vault-credential with options:

    npx get-vault-credential \
        -u vault_username \ # Vault username
        -p vault_password \ # Vault password
        --origin https://vault.example.com \ # Vault server origin
        --path secret/test/data/local_env # Path of secret engine
  • After executing the command above, you will get the .env file with content similar to the content of the record on the vault server along with the version of that record:

    Instruction 3

1.0.11

6 months ago

1.0.10

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago