vault

command module
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Vault 1.1.7 stable

安装必须组件 (GO Version 1.16+ is required)

编译

# 编译前,必须安装 upx 工具
# upx 工具用于压缩程序

# 编译MAC版
make mac

# 编译Linux版
make linux

# 编译windows版
make win

添加命令

vault file 文件加密、解密
vault finance 金融模块

使用说明

配置文件

config.json

{
	"backend": {
		"file": {
			"path": "vault/file"
		}
	},
	"ui": true,
	"default_lease_ttl": "168h",
	"max_lease_ttl": "720h",
	"listener": {
		"tcp": {
			"address": "0.0.0.0:8200",
			"tls_disable": "1",
			"max_request_size": 8388608,
			"max_request_duration": "30s"
		}
	},
	"disable_mlock": true,
	"api_addr": "http://127.0.0.1:8200",
	"cluster_name": "jiangjiali",
	"plugin_directory": "vault/plugins"
}

运行

# 运行测试模式
vault server -dev

# 通过配置文件运行
vault server -config=config.json

API接口

http://127.0.0.1:8200/v1/sys/internal/specs/openapi

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
builtin
plugins
vault-plugin-auth-jwt
A minimal UI for simple testing via a UI without Vault
A minimal UI for simple testing via a UI without Vault
vault-plugin-secrets-kv
Package kv is a generated protocol buffer package.
Package kv is a generated protocol buffer package.
sdk
helper/barcode/qr
Package qr can be used to create QR barcodes.
Package qr can be used to create QR barcodes.
helper/barcode/utils
Package utils contain some utilities which are needed to create barcodes
Package utils contain some utilities which are needed to create barcodes
helper/base62
Package base62 provides utilities for working with base62 strings.
Package base62 provides utilities for working with base62 strings.
helper/certutil
Package certutil contains helper functions that are mostly used with the PKI backend but can be generally useful.
Package certutil contains helper functions that are mostly used with the PKI backend but can be generally useful.
helper/circonus-labs/circonus-gometrics
Package circonusgometrics provides instrumentation for your applications in the form of counters, gauges and histograms and allows you to publish them to Circonus Counters A counter is a monotonically-increasing, unsigned, 64-bit integer used to represent the number of times an event has occurred.
Package circonusgometrics provides instrumentation for your applications in the form of counters, gauges and histograms and allows you to publish them to Circonus Counters A counter is a monotonically-increasing, unsigned, 64-bit integer used to represent the number of times an event has occurred.
helper/circonus-labs/circonus-gometrics/api
Package api provides methods for interacting with the Circonus API.
Package api provides methods for interacting with the Circonus API.
helper/circonus-labs/circonus-gometrics/checkmgr
Package checkmgr provides a check management interface to circonus-gometrics
Package checkmgr provides a check management interface to circonus-gometrics
helper/circonus-labs/circonusllhist
Package circllhist provides an implementation of Circonus' fixed log-linear histogram data structure.
Package circllhist provides an implementation of Circonus' fixed log-linear histogram data structure.
helper/complete
Package complete provides a tool for bash writing bash completion in go, and bash completion for the go command line.
Package complete provides a tool for bash writing bash completion in go, and bash completion for the go command line.
helper/complete/cmd
Package cmd used for command line options for the complete tool
Package cmd used for command line options for the complete tool
helper/crypto/brainpool
Package brainpool implements Brainpool elliptic curves.
Package brainpool implements Brainpool elliptic curves.
helper/crypto/curve25519
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519.
helper/errors
Package errors provides simple error handling primitives.
Package errors provides simple error handling primitives.
helper/errwrap
Package errwrap implements methods to formalize error wrapping in Go.
Package errwrap implements methods to formalize error wrapping in Go.
helper/fatih/color
Package color is an ANSI color package to output colorized or SGR defined output to the standard output.
Package color is an ANSI color package to output colorized or SGR defined output to the standard output.
helper/fatih/structs
Package structs contains various utilities functions to work with structs.
Package structs contains various utilities functions to work with structs.
helper/gabs
Package gabs implements a wrapper around creating and parsing unknown or dynamic map structures resulting from JSON parsing.
Package gabs implements a wrapper around creating and parsing unknown or dynamic map structures resulting from JSON parsing.
helper/hclutil/hcl/hcl/printer
Package printer implements printing of AST nodes to HCL format.
Package printer implements printing of AST nodes to HCL format.
helper/httpunix
Package httpunix provides a HTTP transport (net/http.RoundTripper) that uses Unix domain sockets instead of HTTP.
Package httpunix provides a HTTP transport (net/http.RoundTripper) that uses Unix domain sockets instead of HTTP.
helper/jose/json
Package json implements encoding and decoding of JSON objects as defined in RFC 4627.
Package json implements encoding and decoding of JSON objects as defined in RFC 4627.
helper/kdf
This package is used to implement Key Derivation Functions (KDF) based on the recommendations of NIST SP 800-108.
This package is used to implement Key Derivation Functions (KDF) based on the recommendations of NIST SP 800-108.
helper/kr/pretty
Package pretty provides pretty-printing for Go values.
Package pretty provides pretty-printing for Go values.
helper/masterminds/goutils
Package goutils provides utility functions to manipulate strings in various ways.
Package goutils provides utility functions to manipulate strings in various ways.
helper/masterminds/semver
Package semver provides the ability to work with Semantic Versions (http://semver.org) in Go.
Package semver provides the ability to work with Semantic Versions (http://semver.org) in Go.
helper/masterminds/sprig
Sprig: Template functions for Go.
Sprig: Template functions for Go.
helper/memdb
Package memdb provides an in-memory database that supports transactions and MVCC.
Package memdb provides an in-memory database that supports transactions and MVCC.
helper/mergo
A helper to merge structs and maps in Golang.
A helper to merge structs and maps in Golang.
helper/mfa
Package mfa provides wrappers to add multi-factor authentication to any auth method.
Package mfa provides wrappers to add multi-factor authentication to any auth method.
helper/mfa/duo
Package duo provides a Duo MFA handler to authenticate users with Duo.
Package duo provides a Duo MFA handler to authenticate users with Duo.
helper/mitchellh/mapstructure
Package mapstructure exposes functionality to convert one arbitrary Go type into another, typically to convert a map[string]interface{} into a native Go structure.
Package mapstructure exposes functionality to convert one arbitrary Go type into another, typically to convert a map[string]interface{} into a native Go structure.
helper/mitchellh/pointerstructure
Package pointerstructure provides functions for identifying a specific value within any Go structure using a string syntax.
Package pointerstructure provides functions for identifying a specific value within any Go structure using a string syntax.
helper/mitchellh/reflectwalk
reflectwalk is a package that allows you to "walk" complex structures similar to how you may "walk" a filesystem: visiting every element one by one and calling callback functions allowing you to handle and manipulate those elements.
reflectwalk is a package that allows you to "walk" complex structures similar to how you may "walk" a filesystem: visiting every element one by one and calling callback functions allowing you to handle and manipulate those elements.
helper/oidc
Package oidc implements OpenID Connect client logic for the golang.org/x/oauth2 package.
Package oidc implements OpenID Connect client logic for the golang.org/x/oauth2 package.
helper/otp
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
Package otp implements both HOTP and TOTP based one time passcodes in a Google Authenticator compatible manner.
helper/password
password is a package for reading a password securely from a terminal.
password is a package for reading a password securely from a terminal.
helper/pluginutil/plugin
The plugin package exposes functions and helpers for communicating to plugins which are implemented as standalone binary applications.
The plugin package exposes functions and helpers for communicating to plugins which are implemented as standalone binary applications.
helper/prometheus/client_golang/prometheus
Package prometheus is the core instrumentation package.
Package prometheus is the core instrumentation package.
helper/prometheus/client_golang/prometheus/push
Package push provides functions to push metrics to a Pushgateway.
Package push provides functions to push metrics to a Pushgateway.
helper/prometheus/common/expfmt
Package expfmt contains tools for reading and writing Prometheus metrics.
Package expfmt contains tools for reading and writing Prometheus metrics.
helper/prometheus/procfs
Package procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Package procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
helper/quantile
Package quantile computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.
Package quantile computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.
helper/run
Package run implements an actor-runner with deterministic teardown.
Package run implements an actor-runner with deterministic teardown.
helper/statsd
Package statsd provides a Go dogstatsd client.
Package statsd provides a Go dogstatsd client.
helper/xxhash
Package xxhash implements the 64-bit variant of xxHash (XXH64) as described at http://cyan4973.github.io/xxHash/.
Package xxhash implements the 64-bit variant of xxHash (XXH64) as described at http://cyan4973.github.io/xxHash/.

Jump to

Keyboard shortcuts

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