vaults

package
v0.0.0-...-561eda3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetSecretValuesParams

type BatchGetSecretValuesParams struct {
	OperationParams
}

type BatchSetSecretValuesParams

type BatchSetSecretValuesParams struct {
	OperationParams
}

type DeleteSecretParams

type DeleteSecretParams struct {
	OperationParams
}

type GetSecretValueParams

type GetSecretValueParams struct {
	OperationParams
	Version string
}

type ListSecretNamesParams

type ListSecretNamesParams struct {
	OperationParams
}

type OperationParams

type OperationParams struct {
	Context context.Context
}

type SecretVault

type SecretVault interface {
	BatchGetSecretValues(keys []string, params *GetSecretValueParams) (map[string]string, error)

	BatchSetSecretValues(values map[string]string, params *SetSecretValueParams) error

	GetSecretValue(key string, params *GetSecretValueParams) (string, error)

	ListSecretNames(params *ListSecretNamesParams) ([]string, error)

	MapSecretValues(keys map[string]string, params *GetSecretValueParams) (map[string]string, error)

	SetSecretValue(key, value string, params *SetSecretValueParams) error

	DeleteSecret(key string, params *DeleteSecretParams) error
}

type SetSecretValueParams

type SetSecretValueParams struct {
	OperationParams
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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