gcloud

package
v0.0.0-...-a17cf7f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of the secret store
	Name = secrets.TypeGCloud
	// GoogleKmsResourceKey corresponds to the asymmetric resource id
	GoogleKmsResourceKey = "GOOGLE_KMS_RESOURCE_ID"
	// KMSKvdbkey is used to setup Google KMS Secret Store with kvdb for persistence
	KMSKvdbKey = "KMS_KVDB"
)

Variables

View Source
var (
	// ErrInvalidKvdbProvided is returned when an incorrect KVDB implementation is provided for persistence store.
	ErrInvalidKvdbProvided = errors.New("Invalid kvdb provided. Google Cloud KMS works in conjuction with a kvdb")
	// ErrGoogleKmsResourceKeyNotProvided is returned when GOOGLE_KMS_RESOURCE_ID is not provided
	ErrGoogleKmsResourceKeyNotProvided = errors.New("Google KMS asymmetric key resource ID is not provided")
)

Functions

func New

func New(
	secretConfig map[string]interface{},
) (secrets.Secrets, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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