vault

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClient

func GenerateClient() *api.Client

Types

type KeySecret

type KeySecret struct {
	Key string
}

func GetJwtSecrets

func GetJwtSecrets(v *Manager) (*KeySecret, error)

type Manager

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

func NewManager

func NewManager(client *api.Client) *Manager

func (*Manager) Get

func (v *Manager) Get(path string) (*Secret, error)

type Secret

type Secret struct {
	Data      map[string]any
	ExpiresAt time.Time
	LeaseID   string
}

type UserPassSecret

type UserPassSecret struct {
	Username string
	Password string

	LeaseID string
}

func Get42OauthSecrets

func Get42OauthSecrets(v *Manager) (*UserPassSecret, error)

func GetDbSecrets

func GetDbSecrets(v *Manager) (*UserPassSecret, error)

func GetS3Secrets

func GetS3Secrets(v *Manager) (*UserPassSecret, error)

Jump to

Keyboard shortcuts

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