vault

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 21 Imported by: 0

README

Vault

The Vault plugin reads configuration values from Vault.

Components

  1. ConfigSourcer

Documentation

Overview

Package vault contains components for syncing secrets with Vault.

Index

Constants

This section is empty.

Variables

View Source
var Options = []sdk.Option{
	sdk.WithComponents(&ConfigSourcer{}),
}

Options are the SDK options to use for instantiation for this plugin.

Functions

This section is empty.

Types

type ConfigSourcer

type ConfigSourcer struct {
	// Client, if set, will be used as the client instead of initializing
	// based on the config. This is only used for tests.
	Client *vaultapi.Client
	// contains filtered or unexported fields
}

ConfigSourcer implements component.ConfigSourcer for Vault

func (*ConfigSourcer) Config

func (cs *ConfigSourcer) Config() (interface{}, error)

Config implements component.Configurable

func (*ConfigSourcer) Documentation

func (cs *ConfigSourcer) Documentation() (*docs.Documentation, error)

func (*ConfigSourcer) ReadFunc

func (cs *ConfigSourcer) ReadFunc() interface{}

ReadFunc implements component.ConfigSourcer

func (*ConfigSourcer) StopFunc

func (cs *ConfigSourcer) StopFunc() interface{}

StopFunc implements component.ConfigSourcer

Directories

Path Synopsis
Package freeport provides a helper for allocating free ports across multiple processes on the same machine.
Package freeport provides a helper for allocating free ports across multiple processes on the same machine.
internal
Package testvault contains helpers for working with Vault in a test environment.
Package testvault contains helpers for working with Vault in a test environment.

Jump to

Keyboard shortcuts

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