Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 687 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 687 Bytes

consul2json

keystore from specified key to JSON file

Required packages

  • toolz
  • consulate

Usage

usage: consul2json.py [-h] -k KEY [-t TOKEN] [--host HOST] [-p PORT] [-s SCHEME] -f FILE

  optional arguments:
    -h, --help            show this help message and exit
    -k KEY, --key KEY     specifies key or path
    -t TOKEN, --token TOKEN
                          specify consul token
    --host HOST           defines the host link of consul
    -p PORT, --port PORT  defines the host port of consul
    -s SCHEME, --scheme SCHEME
                          defines connection scheme
    -f FILE define file name to dump the output on.