sops

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = make(map[string]Config)

Functions

func GetActivatedKeyGroups

func GetActivatedKeyGroups() ([]sops.KeyGroup, error)

Types

type AwsKmsConfig

type AwsKmsConfig struct{}

func (*AwsKmsConfig) IsActivated

func (c *AwsKmsConfig) IsActivated() bool

func (*AwsKmsConfig) KeyGroup

func (c *AwsKmsConfig) KeyGroup() (sops.KeyGroup, error)

type Config

type Config interface {
	IsActivated() bool
	KeyGroup() (sops.KeyGroup, error)
}

type GcpKmsConfig added in v0.1.5

type GcpKmsConfig struct{}

func (*GcpKmsConfig) IsActivated added in v0.1.5

func (c *GcpKmsConfig) IsActivated() bool

func (*GcpKmsConfig) KeyGroup added in v0.1.5

func (c *GcpKmsConfig) KeyGroup() (sops.KeyGroup, error)

type HCVaultConfig

type HCVaultConfig struct{}

func (*HCVaultConfig) IsActivated

func (c *HCVaultConfig) IsActivated() bool

func (*HCVaultConfig) KeyGroup

func (c *HCVaultConfig) KeyGroup() (sops.KeyGroup, error)

type PGPConfig

type PGPConfig struct{}

func (*PGPConfig) IsActivated

func (c *PGPConfig) IsActivated() bool

func (*PGPConfig) KeyGroup

func (c *PGPConfig) KeyGroup() (sops.KeyGroup, error)

Jump to

Keyboard shortcuts

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