sys

package
v0.0.0-...-90065ec Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableSecretEngine

func EnableSecretEngine(vaultAddress string, vaultPort string, vaultToken *string, secretEngine, path, defaultLeaseTtl, maxLeaseTtl string)

func VaultInit

func VaultInit(vaultAddress, vaultPort string, shares, threshold int, caChainFile, clientCertFile, clientKeyFile string) vaultInitResp

VaultInit This endpoint initializes a new Vault. The Vault must not have been previously initialized. The recovery options, as well as the stored shares option, are only available when using Vault HSM. https://www.vaultproject.io/api-docs/system/init

func VaultUnseal

func VaultUnseal(vaultAddress, vaultPort, MasterKey, caChainFile, clientCertFile, clientKeyFile string) vaultUnsealResp

VaultUnseal

Types

type EnablePayload

type EnablePayload struct {
	Type   string `json:"type"`
	Path   string `json:"path"`
	Config struct {
		DefaultLeaseTtl string `json:"default_lease_ttl"`
		MaxLeaseTtl     string `json:"max_lease_ttl"`
	} `json:"config"`
}

Jump to

Keyboard shortcuts

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