groups

package
v3.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(opts AddOpts) error

Add adds a key group to a SOPS file

func Delete

func Delete(opts DeleteOpts) error

Delete deletes a key group from a SOPS file

Types

type AddOpts

type AddOpts struct {
	InputPath       string
	InputStore      sops.Store
	OutputStore     sops.Store
	Group           sops.KeyGroup
	GroupThreshold  int
	InPlace         bool
	KeyServices     []keyservice.KeyServiceClient
	DecryptionOrder []string
}

AddOpts are the options for adding a key group to a SOPS file

type DeleteOpts

type DeleteOpts struct {
	InputPath       string
	InputStore      sops.Store
	OutputStore     sops.Store
	Group           uint
	GroupThreshold  int
	InPlace         bool
	KeyServices     []keyservice.KeyServiceClient
	DecryptionOrder []string
}

DeleteOpts are the options for deleting a key group from a SOPS file

Jump to

Keyboard shortcuts

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