vaultClient

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 9 Imported by: 1

README

vault-client

A role-based Vault client for server applications

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultClient

type VaultClient interface {
	Get(token string, engineName string, secretName string) map[string]any
}

func New

func New(options *VaultClientOptions, logger logger.Logger) VaultClient

type VaultClientOptions

type VaultClientOptions struct {
	Endpoint string
	RoleName string
}

type VaultClientService

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

func (*VaultClientService) Get

func (t *VaultClientService) Get(token string, engineName string, secretName string) map[string]any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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