secret

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package secret provides an interface and implementations for secret storage. A secret store is passed to the executor, which hydrates execution tasks with any secrets that match it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrefixedSecrets added in v1.4.0

func GetPrefixedSecrets(s Store, path, prefix string) (map[string]string, error)

GetPrefixedSecrets uses a Store to get a set of secrets that use a prefix.

Types

type Store

type Store interface {
	GetSecretsForTarget(name string) (map[string]string, error)
}

Store describes a type that can securely obtain secrets for services.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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