module

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LUKSOperation

type LUKSOperation struct {
	// contains filtered or unexported fields
}

func (*LUKSOperation) AddPasswdLUKS

func (l *LUKSOperation) AddPasswdLUKS(devicePath, currentPassphraseKeyPath, newPassphraseKeyPath, newKeySlot string) ([]byte, error)

func (*LUKSOperation) KillKeySlot

func (l *LUKSOperation) KillKeySlot(devicePath, keySlot, PassphraseKeyPath string) ([]byte, error)

func (*LUKSOperation) VerifyPasswdLUKS

func (l *LUKSOperation) VerifyPasswdLUKS(devicePath, newPassphraseKeyPath string) ([]byte, error)

type VaultAgent

type VaultAgent struct {
	VaultClient *vault.Client
}

func (*VaultAgent) GetSecret

func (v *VaultAgent) GetSecret(ctx context.Context, vaultSecretPath, secretName string) (*VaultData, error)

func (*VaultAgent) WriteSecret

func (v *VaultAgent) WriteSecret(ctx context.Context, vaultData VaultData, vaultSecretPath, secretName string) error

type VaultData

type VaultData struct {
	Key     string
	TTL     string
	Slot    string
	Created string
}

Jump to

Keyboard shortcuts

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