Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
dotenv-to-consul
Advanced tools
Readme
Cli tool to parse key values from a .env file and populate consul key value store.
$ npm install -g dotenv-to-consul
$ dotenv-to-consul COMMAND
running command...
$ dotenv-to-consul (-v|--version|version)
dotenv-to-consul/0.0.1 darwin-x64 node-v8.11.1
$ dotenv-to-consul --help [COMMAND]
USAGE
$ dotenv-to-consul COMMAND
...
dotenv-to-consul seed-consul -s http://consul.comany.net:8500 -t <EXAMPLE_TOKEN> -p EXAMPLE/1234
KEY1=value_1
KEY2=value_2
KEY3=value_3
KEY4=value_4
dotenv-to-consul purge-consul -s http://consul.comany.net:8500 -t <EXAMPLE_TOKEN> -p EXAMPLE/1234
dotenv-to-consul help [COMMAND]
dotenv-to-consul purge-consul [FILE]
dotenv-to-consul read [FILE]
dotenv-to-consul seed-consul [FILE]
dotenv-to-consul help [COMMAND]
display help for dotenv-to-consul
USAGE
$ dotenv-to-consul help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
dotenv-to-consul purge-consul [FILE]
Read a .env file and purge its contents from consul kv store
USAGE
$ dotenv-to-consul purge-consul [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-p, --path=path path
-s, --server=server server
-t, --token=token token
See code: src/commands/purge-consul.ts
dotenv-to-consul read [FILE]
Read a .env file and print the corresponding key value pairs
USAGE
$ dotenv-to-consul read [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
See code: src/commands/read.ts
dotenv-to-consul seed-consul [FILE]
Read a .env file and seed consul kv store
USAGE
$ dotenv-to-consul seed-consul [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-p, --path=path path
-s, --server=server server
-t, --token=token token
See code: src/commands/seed-consul.ts
FAQs
Read .env file and populate consul directory with all key values
The npm package dotenv-to-consul receives a total of 1 weekly downloads. As such, dotenv-to-consul popularity was classified as not popular.
We found that dotenv-to-consul demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.