hashicorp

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	PluginClient
	SetToken(token string)
	UnwrapToken(token string) (*hashicorp.Secret, error)
	Mount(path string, mountInfo *hashicorp.MountInput) error
	HealthCheck() error
}

type PluginClient

type PluginClient interface {
	GetWallet(id string) (*hashicorp.Secret, error)
	CreateWallet(data map[string]interface{}) (*hashicorp.Secret, error)
	ImportWallet(data map[string]interface{}) (*hashicorp.Secret, error)
	ListWallets() (*hashicorp.Secret, error)
	UpdateWallet(id string, data map[string]interface{}) (*hashicorp.Secret, error)
	DestroyWallet(id string) error
	Sign(id string, data []byte) (*hashicorp.Secret, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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