Discover Packages
github.com/blinchik/vault
sys
package
Version:
v0.0.0-...-90065ec
Opens a new window with list of versions in this module.
Published: Dec 17, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
EnableSecretEngine(vaultAddress, vaultPort, vaultToken, ...)
VaultInit(vaultAddress, vaultPort, shares, threshold, ...)
VaultUnseal(vaultAddress, vaultPort, MasterKey, caChainFile, clientCertFile, clientKeyFile)
Types
Source Files
Documentation
Documentation
¶
func EnableSecretEngine(vaultAddress string , vaultPort string , vaultToken *string , secretEngine, path, defaultLeaseTtl, maxLeaseTtl string )
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(vaultAddress, vaultPort, MasterKey, caChainFile, clientCertFile, clientKeyFile string ) vaultUnsealResp
VaultUnseal
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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.