env

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

Env Keykeeper Plugin

The fs keykeeper allows to get configuration keys from files.

Configuration

[[keykeepers]]
  [keykeepers.fs]
    alias = "fs"

[[keykeepers]]
  [keykeepers.vault]
    alias = "vault"
    address = "https://vault.local:443"
    [keykeepers.vault.approle]
      role_id = "@{fs:/data/vault_role_id}"
      secret_id = "@{fs:./vault_secret_id}"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fs

type Fs struct {
	*core.BaseKeykeeper `mapstructure:"-"`
}

func (*Fs) Close

func (k *Fs) Close() error

func (*Fs) Get

func (k *Fs) Get(path string) (any, error)

func (*Fs) Init

func (k *Fs) Init() error

Jump to

Keyboard shortcuts

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