appsecret

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigVault

func NewConfigVault(config config.Config) secret.Vault

func NewTenantConfigVault

func NewTenantConfigVault(tid tenant.Id, parentVault secret.Vault) secret.Vault

Types

type ConfigVault

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

ConfigVault provides secrets from ears app configuration

func (*ConfigVault) Secret

func (v *ConfigVault) Secret(key string) string

type TenantConfigVault

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

func (*TenantConfigVault) Secret

func (v *TenantConfigVault) Secret(key string) string

Jump to

Keyboard shortcuts

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