vault-sync

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2020 License: MIT Imports: 12 Imported by: 0

README

Description

Simple and straight-forward tool to synchronize data from vault.

Authentication

Currently, there are 2 auth methods supported

Github auth method

Your vault cluster must be configured to accept this option, read more about it here

How to use

Firstly you must build the tool, using Makefile just execute:

make build
NAME:
   vault-sync - copy vault data

USAGE:
    [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --srcaddr value   Source Vault Address
   --srctoken value  Source Vault Token
   --dstaddr value   Destination Vault Address
   --dsttoken value  Destination Vault Token
   --method value    Define auth method (github/token) (default: "github")
   --help, -h        show help

To Run

./vault-sync --srcaddr https://vault.domain --dstaddr https://vault-2.domain

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL